Skip to content

Repeatable field with language values disappears after save when multiple language-tagged fields exist in submission form #6103

Description

@EikLoe

Describe the bug

If you have the language dropdowns activated for multiple fields in the submission workflow and create more than one value with languages assigned, the frontend won't always render all values correctly. Though I'm not completely sure, if this is actually a problem on the angular side or on the backend.

Steps to reproduce the behavior:

  1. Add the <language value-pairs-name="common_iso_languages">true</language> attribute to the dc.title.alternative field in the traditionalpageone step and the dc.description.abstract field in the traditionalpagetwo step.
  2. Set the dc.description.abstract field in the traditionalpagetwo step to repeatable: <repeatable>true</repeatable>
  3. Start a new submission by using the default workflow
  4. Add two values in the Other Titles fields by using the Add more button and choose languages for both values
  5. Add two values to the Abstract fields by using the Add more button, too and choose languages for both.
  6. Save the submission and watch how the second value of the Other Titles field vanishes.

Expected behavior

All values with assigned languages should stay visible.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status
    📋 To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions