Import/Export process should check that available languages at origin are included at available languages at target.
Description
Environment
Activity

Justin ChoiOctober 12, 2012 at 9:24 AM
My mistake. I'm going to close it and open a new ticket.

Justin ChoiOctober 12, 2012 at 8:52 AM
I am reopening this ticket because it is broken in Portal 6.1.x EE HEAD. I'm attaching the stacktrace log.
Regards,
Justin Choi
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 58c22bcf801ec7044f7181cf899c82a7c885c852.

Yang GaoAugust 23, 2012 at 8:25 PMEdited
PASSED Manual Testing using the following steps:
1. Company A: available languages: es_ES, only > Documents and Media > Document Types > at least one Structure named using default locale (es_ES).
2. Company B: available languages: en_US, only.
3. Export the portlet from Company A and try to import it onto Company B.
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.10 EE GA1.
The process will fail and it will show: "An unexpected error occurred while importing your file."
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 99d422996293e360a04d47a1cbac8da280ac06b2.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e8ab3317581dbeea86bd69bf8965bd898de5b282.
The process will fail and it will show: "The available languages in the LAR file (es_ES) do not match the portal's available languages (en_US)."

Michael SaechangJuly 18, 2012 at 3:41 PM
Committed on:
Portal 6.1.x CE GIT ID: 1b4239ebe8f4e85247b8619374baf52e88b9576f.
Portal 6.2.x GIT ID: d63c75e9fcdbf9fda28c47eb3679848c3400a17b.
Details
Assignee
Justin ChoiJustin Choi(Deactivated)Reporter
Manuel de la PeñaManuel de la Peña(Deactivated)Labels
Branch Version/s
6.1.xBackported to Branch
CommittedEpic/Theme
Git Pull Request
Components
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
Backported to Branch
Epic/Theme
Git Pull Request
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

With this environment, if an user exports Docs&Media portlet from Company A and tries to import it onto Company B, the process will fail because is not possible to create the same DDMStructures with the same locales.
An improvement would be to label the LAR file with available locales at export process, and then check if those languages are available at target at import process.