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

Service builder adds JSONWebService annotation to remote service even if json-enabled="false"

    Details

      Description

      Steps to reproduce

      1. Update portal-impl/src/com/liferay/portlet/announcements/service.xml and add json-enabled="false" to AnnouncementsDelivery
        <entity json-enabled="false" local-service="true" name="AnnouncementsDelivery" remote-service="true">
        
      2. Run "ant setup-sdk compile" from the root of the portal project
      3. Navigate to portal-impl
      4. Run "ant build-service-portlet-announcements"
      5. Check portal-kernel/src/com/liferay/announcements/kernel/service/AnnouncementsDeliveryService.java

      Expected behavior is that there is no @JSONWebService annotation on the file.

      Actual behavior is that there is a @JSONWebService annotation on the file.

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            minhchau.dang Minhchau Dang
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Minhchau Dang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.1 CE GA2
                7.2.X
                7.3.10 DXP GA1
                Master