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

GetterUtil doesn't return the correct primitive arrays

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 6.2.X EE
    • Fix Version/s: None
    • Component/s: Legacy
    • Labels:
      None

      Description

      When you have an object that represents a primitive array such as: int[ ], long[ ], or double [ ], GetterUtil doesn't convert the array correctly because it looks for the Class that represents the primitive type. See:
      http://stackoverflow.com/questions/22470985/integer-class-vs-int-class

      This happens on several methods like getIntegerValues, getDoubleValues, etc....

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            marco.calderon Marco Calderon (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              4 years, 26 weeks, 6 days ago

                Packages

                Version Package