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

VerifyJournal fails when upgrading from 5.2.3 to 6.0.5 with Permission Algorithm 6 used in 5.2.3

    Details

    • Branch Version/s:
      6.0.x, 5.2.x, 5.1.x
    • Backported to Branch:
      Committed
    • Liferay Contributor's Agreement:
      Accept

      Description

      The portal (version 5.2.3) had the permission algorithm 2 (it is a very very long running portal).
      We used the migration tool from the control panel. This tool switched the permission algorithm to version 6.
      This algorithm WAS available in 5.2.3 and if you used the migration tool from the control panel, permissions were converted to the algorithm 6 (not 5).

      So if you now try to upgrade to 6.0.5 with permission algorithm 6 you get result as in the attached file "UpgradeTo6.0.5WithPermAlgo6.log" (VerifyJournal throws an exception).

      If you switch to permission algorithm 5 in portal-ext.properties (and do not do anything else) the upgrade works "perfectly", but you cannot switch back to permission algorithm 6, see reults in attached file "UpgradeTo6.0.5WithPermAlgo5.log". The migration with the tool in the control panel fails with a "primary key constraint" violation.

      So where is the bug? in VerifyJournal? I think so....

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 32 weeks, 2 days ago

                  Subcomponents