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

JSON Web Service Invoker doesn't serialize null results

    Details

      Description

      When some API method called via JSON WS Invoker returns null, it will be returned as an empty string instead as "{}" (i.e. JSONFactoryUtil.getNullJSON()).

      This happens because recently we added InvokerResult - wrapper for invoker results; so the invocation method always return non-null value.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              igor.spasic Igor Spasic (Inactive)
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 50 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2