Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.4.13 DXP GA1
-
None
Description
The Service Builder tool is not generating the implementations of the cloneWithOriginalValues() method in the ModleImp and Wrapper classes for the entity.
I am using Eclipse as the IDE and running the buildService gradle task to generate the service code.
Steps to recreate
- Create new Liferay workspace targeting 7.4 GA1, i.e. liferay.workspace.product = dxp-7.4-ga1 in the gradle.properties
- Copy service.xml from 7.3 project and change the DOCTYPE attributes to reflect 7.4
- Assuming no existing code exists, generate the service code using buildService
- Perform Gradle Refresh and you should see compile errors because the cloneWithOriginalValues() method is not implemented
Expected behaviour
- The service builder should generate the implementation for these methods as they are boilerplate and very similar to existing methods generated by the tool