Web Content localization does not work correctly when adding a translation

Description

Steps to reproduce:
1. Navigate to Control Panel > Web Content > Structures > Add Structure
2. Click Launch Editor and enter in
<root> \n\n <dynamic-element name='page-name' type='text'></dynamic-element> \n\n <dynamic-element name='page-description' type='text'></dynamic-element> \n\n</root>
3. Click Update
4. Assert page-name and page-description
5. Click Save
6. Navigate to Control Panel > Web Content > Templates > Add Template
7. Select structure from Step 1
8. Upload LocalizedTemplate.html script (see attachments)
9. Click Save
10. Navigate to Control Panel > Web Content > Add > Test Structure from Step 1
11. Enter in title and flag all checkboxes
12. Click Save as Draft
13. Click Add Translation and select Chinese (China)

You will notice that page-name and page-description do not appear. (See screenshots)

Environment

Tomcat 7 + MySQL 5. Portal 6.1.x EE GIT ID: 008eed88af5d0d8941590ac0447e72fe5a9de16b. Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: 2964a5793dc818e44f45a99df511b3f2532ff8d3.

Attachments

2

Activity

Show:

Luyang Tan June 25, 2012 at 10:44 PM

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: f7586e0b8d75edb1d46fd4ddb5734cdb113d9920.

The page-name and page-description do not appear.

Fixed on:
Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: 8d4ad165f536f5335cc5aed3b773d71c762f5902.
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: 89268a0d114ae07562c74a592f1c4d1da287fa22.
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: a88c5cc840c88a5ceba34a72f5246eb21872f970.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 3ed0a6d367fd48c06fa4eb900537966f51e0af67.

The page-name and page-description appear.

Michael Saechang June 25, 2012 at 2:18 PM

Committed on:
Portal 6.1.x CE GIT ID: a6681cffaebc1072c3011ce4dee68200ebcbbf5b.
Portal 6.2.x GIT ID: ba8883b6a82800614c845a9be6e3f02a72948369.

Fixed

Details

Assignee

Reporter

Branch Version/s

6.1.x
6.0.x

Backported to Branch

Committed

Fix Priority

4

Git Pull Request

Bug Type

Regression Bug

Components

Affects versions

Priority

Zendesk Support

Created June 22, 2012 at 11:00 AM
Updated June 24, 2023 at 3:48 PM
Resolved July 2, 2012 at 4:04 PM
Loading...