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

Some Verify Processes are not run during the upgrade from 6.2 to 7.0

    Details

    • Fix Priority:
      5

      Description

      Description
      Some verify processes are not run during the upgrade to master. As an example, JournalServiceVerifyProcess is not run. The cause seems to be that its property value inside the @Component tag is shared with a different class (i.e. both the JournalServiceSystemEventVerifyProcess class and the JournalServiceVerifyProcess have "verify.process.name=com.liferay.journal.service" as their property value, and only JournalServiceSystemEventVerifyProcess gets called since it comes first alphabetically).

      Steps to Reproduce
      1. Create a database in Liferay 6.2.
      2. Place a breakpoint inside of the doVerify method of the JournalServiceVerifyProcess class.
      3. Run an upgrade process on the database in 7.0 with the debugger enabled. Make sure to connect the debugger.

      Expected Result: The breakpoint would be reached before the upgrade process ends.
      Actual Result: The upgrade process ends without the breakpoint having ever been reached, despite the fact that the output log claims that all the verify processes were run.

      Reproduced in ee-7.0.x: c409ef241b005bb0870b3850ed1ae2cefd1d892f

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 39 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.1 CE GA2