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

Nested content-blocks compound validation adds violation message on all ancestors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 13.3.0
    • None
    • None
    • 1
    • Tiger
    • Tiger Sprint 210, Tiger Sprint 211

    Description

      When a content-block contains a nested content-block (e.g. Employee -> Interview) and the nested block (Interview) contains a compound field with a compound validator, the violation message is displayed on all ancestors.

      Steps to reproduce:

      • add hap:validationdatescompound to the compoundList property of /hippo:namespaces/hap/employee/editor:templates/default/interviews
      • *in the validation document, add a new employee content block and than add a new *validationdatescompound in the Interview field
      • press save

      Expected: Message "The dates are not in sequence" is displayed in the validationdatescompound block

      Actual: Message "The dates are not in sequence" is repeated on all ancestors of the validationdatescompound (as well as the red border)

      Attachments

        Activity

          People

            Unassigned Unassigned
            abogaart Arthur Bogaart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: