Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X, Master
-
7.1.x
-
Committed
-
1
-
3
-
Database Upgrade
Description
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)
Expected Result:
The article's defaultLanguageId field should be Spanish
Actual Result:
English is selected as the defaultLanguageId value.
Attachments
Issue Links
- is related to
-
LPS-98968 Web Content default language is not correctly set when coming from 6.0
- Closed