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

NumberFormatException on empty DDL fields in Screens plugin

    Details

      Description

      If you have a record with empty fields, the method getFieldValue raises a format exception

      java.lang.NumberFormatException: For input string: "null"
      	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
      	at java.lang.Float.valueOf(Float.java:417)
      	at com.liferay.screens.service.impl.ScreensDDLRecordServiceImpl.getFieldValue(ScreensDDLRecordServiceImpl.java:175)
      	at com.liferay.screens.service.impl.ScreensDDLRecordServiceImpl.getDDLRecordJSONObject(ScreensDDLRecordServiceImpl.java:116)

      It's a regression of LSP-58800

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            jose.navarro José Manuel Navarro (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                6.2.X EE