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

DefaultPKMapper should lower case old value before searching for a match

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.2
    • Fix Version/s: 6.0.0 Preview
    • Component/s: None
    • Labels:
      None
    • Liferay Contributor's Agreement:
      Accept

      Description

      UserIds could be entered as "Becky" previous to version 4.3.x. When upgrading to Liferay 4.3.x+,the UpgradeProcesses lowercases the userIds ("becky") and coverts them to screenNames.

      When the DefaultPKMapper tries to find a match, it attempts to match "Becky" instead of "becky". Since it does not find a match, it returns 0 which may trigger a series of Exceptions that prevents any subsequent UpgradeProcesses from completing successfully and requires the entire upgrade to be run again.

        Attachments

          Activity

            People

            Assignee:
            edward.shin Edward Shin (Inactive)
            Reporter:
            edward.shin Edward Shin (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:
              11 years, 48 weeks, 6 days ago

                Packages

                Version Package
                6.0.0 Preview