Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30301

Matrix field type forms overwrite values because of incorrect index

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.5.0-beta2
    • Fix Version/s: 2.5.0-rc2
    • Component/s: None
    • Labels:

      Description

      Steps to reproduce.

      1. Create Content Type with Matrix field (min. columns set to 3).
      2. Go to create Content form.
      3. Fill Matrix field with data (do not add any new rows).
      4. Remove non-last row (ie. first or second).
      5. Add empty row.
      6. Try to save (trigger validation).

      Result:
      Value of last non-empty row is lost.

      Expected result:
      Values remain unaffected by failed validation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              slawomir.uchto@ez.no SÅ‚awomir Uchto
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: