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

Support nested JSONArray elements in JSONUtil.getValue

    Details

      Description

      When using JSONUtil.getValue(), property are automatically casted to JSONObject, which can cause errors if it is combined with nested JSONArray elements.

      We should check if this casting is valid before converting it to a JSONArray/JSONObject to prevent issues.

        Attachments

          Activity

            People

            Assignee:
            shuyang.zhou Shuyang Zhou
            Reporter:
            pablo.molina Pablo Molina
            Engineering Assignee:
            Pablo Molina
            Recent user:
            Enterprise Release HU
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.X
                7.3.X