-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 7.0.1 CE GA2
-
Fix Version/s: 7.0.1 CE GA2
-
Component/s: Core Infrastructure, Core Infrastructure > Upgrade Framework
-
Labels:
-
Fix Priority:5
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