[MGNLCTS-185] Download translation as XLS with colliding field names at compositeField subfields Created: 21/Dec/23  Updated: 21/Dec/23

Status: Open
Project: Content Translation Support
Component/s: None
Affects Version/s: 2.5.11
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Eduardo Galán Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Zip Archive ktr-ui.zip     File ktrnews-workaround.yaml     Microsoft Word ktrnews.internal-name.actual.xls     Microsoft Word ktrnews.internal-name.expected.xls     Microsoft Word ktrnews.internal-name.workaround.xls    
Issue Links:
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled

 Description   

Steps to reproduce

  1. Custom content app KTR news: ktr-ui.zip
  2. Add a register at KTR news with values for EN and DE fields
  3. Download translations as XLS

.. Logs, screenshots, gifs...

Expected results

Correct export of translations: ktrnews.internal-name.expected.xlsJustify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

2 additional rows at the end which mixes the fields and subfields with colliding names: ktrnews.internal-name.actual.xls
In this case the additional conflicting fields are fields defined at model and as subfield into compositeFields:

  • title and meta.title
  • text and content.content0.text 

 

Workaround

By renaming the conflicting fields so there's no name collision ( ktrnews-workaround.yaml ) the result of export is correct: ktrnews.internal-name.workaround.xls

Development notes


Generated at Mon Feb 12 00:34:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.