Details

      Description

      Description :

      The JSONWS GUI fails on valid input with null or object parameters.

      Steps to reproduce

      1) Note that the following curl command is valid

      curl http://localhost:8080/api/jsonws/layoutsetprototype/search -u [email protected]:test  -d companyId=20116 -d active=true -d +obc=com.liferay.portal.kernel.util.comparator.LayoutSetPrototypeCreateDateComparator

      2) Access http://localhost:8080/api/jsonws?contextName=&signature=%2Flayoutsetprototype%2Fsearch-3-companyId-active-obc.
      3) Use GUI to submit command with these values :

      companyId: 20116 (or your companyId)
      active: true
      obc: com.liferay.portal.kernel.util.comparator.LayoutSetPrototypeCreateDateComparator
      

      Results of Testing

      Expected Result: the method call is successful.
      Actual Results: it throws an error:

      2018-01-04 20:38:18.619 ERROR [http-nio-9080-exec-6][JSONWebServiceServiceAction:121] Conversion failed: com.liferay.portal.kernel.util.OrderByComparator
      

      Master

      Reproduced
      9674e531c52104632162e29a672fc51bb52dedf6

      Branch

      Reproduced
      bce0628ca3bf942d570626635021d8bd6c6791a1

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              spencer.woo Spencer Woo
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 26 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP42
                  7.0.6 CE GA7
                  7.0.0 DXP SP8
                  7.0.X
                  7.1.0 M2
                  7.1.X
                  Master