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

Cannot generate service when using remote-service=true, versioned=true with localized-entity

    Details

      Description

      Cannot generate service when using remote-service=true, versioned=true with localized-entity.

      Steps
      1. Create a service module with this example service.xml entity:

      <entity local-service="true" name="LVEntry" remote-service="true" versioned="true">
      
      	<!-- PK fields -->
      
      	<column name="lvEntryId" primary="true" type="long" />
      
      	<!-- Other fields -->
      
      	<column name="groupId" type="long" />
      
      	<!-- Localized entity -->
      
      	<localized-entity>
      		<localized-column name="title" />
      		<localized-column name="content" />
      	</localized-entity>
      
      	<!-- Finder methods -->
      
      	<finder name="GroupId" return-type="Collection">
      		<finder-column name="groupId" />
      	</finder>
      </entity>
      

      2. Run gradlew buildService

      Expected
      Can generate the service.
      Actual
      Cannot generate the service.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            preston.crary Preston Crary
            Participants of an Issue:
            Recent user:
            Michael Saechang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 17 weeks, 6 days ago

                Packages

                Version Package
                7.1.X
                Master