Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-9800

[Backport to 10.1] Regression - Content blocks: validation invalidates all fields, instead of only the invalid fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.4
    • Component/s: None
    • Labels:
    • Similar issues:
    • Sprint:
      Tiger Sprint 119, Tiger Sprint 120, Tiger Sprint 121

      Description

      When a content blocks field contains multiple items and one of the elements doesn't validate, all items are marked as invalid (and get a red color/border).

      Reproduction path:

      • Install archetype with all essential components installed
      • Configure content blocks on a document type
      • select all available compounds
      • save changes
      • Edit a document with the content blocks field
      • Add multiple entries and do not provide one of the required fields
      • Save document
      • Too many elements are marked as invalid

      See screenshot with an example.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pgupta Pankaj Gupta (Inactive)
                Reporter:
                pgupta Pankaj Gupta (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: