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

Description

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.

Environment

Company A: available languages: es_ES, only Documents&Media > Document Types > at least one Structure named using default locale (es_ES) Company B: available languages: en_US, only

Activity

Show:

Justin Choi October 12, 2012 at 9:24 AM

My mistake. I'm going to close it and open a new ticket.

Justin Choi October 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 Gao August 23, 2012 at 8:25 PM
Edited

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 Saechang July 18, 2012 at 3:41 PM

Committed on:
Portal 6.1.x CE GIT ID: 1b4239ebe8f4e85247b8619374baf52e88b9576f.
Portal 6.2.x GIT ID: d63c75e9fcdbf9fda28c47eb3679848c3400a17b.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Epic/Theme

Priority

Zendesk Support

Created July 2, 2012 at 4:11 AM
Updated June 24, 2023 at 3:57 PM
Resolved October 12, 2012 at 9:39 AM