Affects Version/s: 7.1.X, Master
Component/s: WCM > Upgrade
Web contents in 6.0 where created without title field internationalized. It wasn't until
LPS-5906 that we changed this behavior, but if the record wasn't created with the field internationalized we're not updating it.
Meanwhile in UpgradeJournalArticleLocalizedValues.updateJournalArticleDefaultLanguageId we're using the title default language id to assign the article default language id, but because of the former fact, and the point that the JournalArticle.content field was internationalized before, we should better rely on it.
Steps to Reproduce:
- In 6.0 create a web content with Spanish as default language, its content translated and with any title.
- Perform an upgrade to master/7.1 (upgrade first to 6.2 and then to 7.1/master)
The article's defaultLanguageId field should be Spanish
English is selected as the defaultLanguageId value.