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

PropertyFieldPlugin always redraws when receiving Jcr events and field.isOrdered is true

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.10
    • 2.24.12
    • None

    Description

      Reproduction path:

      • create a new document type X
      • add a 'Formatted text' field
      • mark it as multiple
      • mark it as ordered
      • save document type
      • create a new document of type X
      • add two Xinha fields
      • click field one and add some text
      • immediately click field two

      Result: An error occurs. This is because the autosave call of the first Xinha field triggers a redraw in the PropertyFieldPlugin because it is marked as ordered, see org/hippoecm/frontend/editor/plugins/field/PropertyFieldPlugin.java:107

      The autosave call always result in an empty ajax response.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            abogaart Arthur Bogaart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: