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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.5.0-rc2
    • 2.5.0-beta2
    • None

    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

            Unassigned Unassigned
            slawomir.uchto@ibexa.co Sławomir Dołżycki-Uchto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: