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

com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl.getJSONData() is buggy and incomplete. Only text expando values can be retrieved by web service

    Details

      Description

      this method gets data this way
      String data = expandoValueLocalService.getData(
      companyId, className, tableName, columnName, classPK,
      StringPool.BLANK);
      what means that only text type custom fields are supported. If they are arrays, booleans or numbers.
      Even more, if the field has no value or a zero length string, it fails.
      Even more, local retrieval of non existing columns are returned as null. The remote retrieval of unexisting columns throw an exception

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 5 days ago

                  Packages

                  Version Package
                  6.2.0 CE B2