Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.10 EE GA1, 6.2.X EE, 7.0.0 M3
-
6.2.x
-
Committed
-
11
-
3
Description
1) Create following structure
<root available-locales="de_DE,en_US" default-locale="de_DE"> <dynamic-element dataType="string" indexType="keyword" name="entry" readOnly="false" repeatable="true" required="false" showLabel="true" type="text" width="small"> <meta-data locale="de_DE"> <entry name="label"> <![CDATA[Inhalt]]> </entry> <entry name="predefinedValue"> <![CDATA[]]> </entry> <entry name="tip"> <![CDATA[]]> </entry> </meta-data> <meta-data locale="en_US"> <entry name="label"> <![CDATA[Content]]> </entry> <entry name="predefinedValue"> <![CDATA[]]> </entry> <entry name="tip"> <![CDATA[]]> </entry> </meta-data> </dynamic-element> </root>
2) Create following template
<#if entry.getSiblings()?has_content> <table class="entrylist"> <tr> <#if locale == "de_DE"> <th>Eintrag</th> <#elseif locale == "en_US"> <th>Entry</th> </#if> </tr> <#list entries.getSiblings() as cur_entry> <tr> <td>${cur_entry.entry.getData()}</td> </tr> </#list> </table> </#if>
3) Create new "Web Content" using this template.
4) Enter a title and two entries, say "Content 1" and "Content 3"
5) Klick "Save as draft"
6) Klick "Add translation", select "German", and edit the translation.
7) Save the translation.
8) Now add an entry between "Content 1" and "Content 3" by clicking the plus sign near to "Content 1".
9) Enter "Content 2" and klick "Save as draft".
10) Click on "Available Translations" / "German"
11) The Translation opens, and you will see, the corresponding translation for "Content 1" is directly followed by the corresponding translation for "Content 3". The new entry was not inserted but appended.
12) Similar to that, if a non-trailing entry is removed, in the translation not the corresponding entry is removed, but just the last one.
Attachments
Issue Links
- causes
-
LPS-49738 Unable to upload image file using DDM Image field type
- Closed
-
LPS-52865 Possible IndexOutOfBoundsException when DDM field names are matching
- Closed
-
LPS-53319 Cannot edit Web Content Article's translation - NullPointerException
- Closed
-
LPS-60127 Value in non localizable field disappear after updating translation
- Closed
-
LPS-62902 Cannot edit Web Content Article's translation - NullPointerException
- Closed
-
LPS-63464 After an upgrade, publishing a Web content fails
- Closed
-
LPS-66834 Cannot update DDL record via /ddlrecord/update-record jsonws method
- Closed
-
LPS-64552 DDMImpl.mergeFields throws NPE when upgrade from 6110
- Closed
-
LPS-76262 Export/import - Web Content images doesn't work if the Web Content was created before the fix for LPS-45541
- Verified
- Discovered while testing
-
LPS-48966 Cannot Add Web Content Template or DDL Display Template
- Closed
- relates
-
LPE-12572 Wrong order on Available Translations for Dynamic Structures (DDM)
-
- Closed
-
- Testing discovered
-
LPS-68906 Cannot add new translation to web content with image over 1MB
- Closed