Affects Version/s: 7.0.X, Master
Component/s: WCM > Upgrade
JournalServiceVerifyProcess.verifyOracleNewLine() can be removed
- If database is not oracle, it returns at the begining
- For oracle databases, calls journalArticleLocalService.checkNewLine for all JournalArticles of groupId=14
Last logic change was done in
LPS-32454. Before that LPS, we also executed journalArticleLocalService.checkNewLine in the all structures and templates of groupId=14, see:
After some investigations, the original version of this verify was added 12 years ago in following commit (no Jira ticket exists):
...due a old Oracle bug, see comment inside the code:
The URL with they full explanation of the issue is not available
So this old code seems to solve an old Oracle issue, only for groupId=14.
That groupId is not normal for newer Liferay installations (6.0+) so I think we can remove this verify as all older Liferay installations must stop in 6.1 or 6.2 before upgrading to 7.0 and verify will be executed in that moment.