Import fails when an article's default language is not available
Description
Attachments
Discovered while testing
is related to
Activity

Pani Gui October 30, 2012 at 8:32 PMEdited
PASSED Manual Testing using the following steps:
1. Go to Control Panel > Portal Settings > Display Settings.
2. Edit Language and Time Zone.
1) Available Locales: es_ES,de_DE,en_US,bg_BG.
2) Default Portal Locale: es_ES.
3. Create a web content.
1) Default Translation: es_ES.
2) Available Translations: de_DE,en_US,bg_BG.
4. Edit Language and Time Zone.
1) Available Locales: es_ES,en_US,bg_BG.
2) Default Portal Locale: es_ES.
5. Add Web Content Display portlet in Welcome page.
6. Select the created web content.
7. Export Web Content Display portlet to a LAR file.
8. Import the LAR file.
9. Delete the web content in Control Panel.
10. import the LAR file again.
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.10 EE GA1.
Importing a web content fails when the web content has an unavailable language.
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: ac453dba013504ac5f39224014de7b26612301a2.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 9ef9171932acea979e88c4184893a7114418b0be.
The web content is imported successfully.

Brian Chan July 25, 2012 at 5:46 PM
Should be fixed as a result of

Manuel de la Peña July 23, 2012 at 12:55 AMEdited
Example use cases of the PDF attachment. Please check it to see the data flow.
(* means default locale)
1) Web Content Language: es_ES*,de_DE,en_US
Portal Available Locales: es_ES*,en_US,bg_BG
Web Content Language after Import: es_ES*,de_DE,en_US
2) Web Content Language: es_ES*,de_DE,en_US
Portal Available Locales: en_US*,bg_BG
Web Content Language after Import: es_ES,de_DE,en_US*
3) Web Content Language: es_ES*,de_DE,en_US
Portal Available Locales: it_IT*,en_US
Web Content Language after Import: es_ES,de_DE,en_US*
4) Web Content Language: es_ES*,de_DE,en_US
Portal Available Locales: it_IT*,fr_FR
Web Content Language after Import: es_ES,de_DE,en_US,it_IT*

Manuel de la Peña July 18, 2012 at 6:39 AM
Reopening to develop a reusable solution
Details
Assignee
Pani GuiPani Gui(Deactivated)Reporter
Daniel ReutherDaniel ReutherLabels
Fix Priority
3Git Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Fix Priority
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Steps to reproduce:
1) Create an article with the default language en_GB
2) Remove en_GB from the portal-wide locales
3) Export the article and import it again
At this point an ArticleTitleException will be thrown