Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-98680

Confusing log output when building service with persistence disabled

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce:

      1. Add new entity to modules/util/portal-tools-service-builder-test-service/service.xml
        	<entity local-service="true" name="MyEntity" persistence="false" remote-service="false">
        		<column name="groupId" primary="true" type="long" />
        		<column name="companyId" type="long" />
        	</entity>
        
      2. gw buildService (in modules/util/portal-tools-service-builder-test-service)

      Expected Result:
      Output communicates that persistence layer is not generated since it is disabled

      Actual Result:
      Output communicates that layer is generated and then removed.

      Removing src/main/java/com/liferay/portal/tools/service/builder/test/service/persistence/impl/MyEntityPersistenceImpl.java
      Removing ../portal-tools-service-builder-test-api/src/main/java/com/liferay/portal/tools/service/builder/test/service/persistence/MyEntityPersistence.java
      Removing ../portal-tools-service-builder-test-api/src/main/java/com/liferay/portal/tools/service/builder/test/service/persistence/MyEntityUtil.java
      Removing ../portal-tools-service-builder-test-test/src/testIntegration/java/com/liferay/portal/tools/service/builder/test/service/persistence/test/MyEntityPersistenceTest.java
      

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              victor.ware Victor Ware
              Participants of an Issue:
              Recent user:
              Victor Ware
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                19 weeks, 4 days ago

                Packages

                Version Package