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

ServiceBuilder in plugins SDK generates ServiceSoap with wrong return types for generic entity types

    Details

      Description

      When using plugins SDK, if a List<ModelEntity> is returned from a ServiceImpl method, the ServiceSoap class that is generated by ServiceBuilder has a return type of ModelEntity[] (incorrect) instead of ModelEntitySoap[] (correct).

      This results in anything relying on ModelEntitySoap return values (such as the build-wsdd target) to fail.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              minhchau.dang Minhchau Dang
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 20 weeks, 2 days ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2