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

    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

        Issue Links

          Activity

            People

            Assignee:
            victor.ware Victor Ware
            Reporter:
            victor.ware Victor Ware
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Dante Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 34 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP97
                7.0.X
                7.1.10 DXP FP21
                7.1.X
                7.2.10 DXP FP10
                7.2.10.4 DXP SP4
                7.2.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                7.3.X
                7.4.13 DXP GA1
                Master