Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11950

Cannot empty a repeater in a grid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.8.0
    • None
    • None
    • None
    • 4.8.0 M8

      When removing the last entry in a grid, after saving : the entry is back.

          "values": {
                  "_content.input.mccSession1/size": 0
              },

      is not saved

      while

      "values": {
                  "_content.input.mccSession1[1]/previous-position": 1,
                  "content.input.mccSession1[1]/nature": "content://ad2e2e5b-460c-4e17-a608-bbb846a1ec36",
                  "content.input.mccSession1[1]/modalite": "content://3bb3afae-d95a-48eb-a5ff-c1bb861dc0c1",
                  "content.input.mccSession1[1]/duree": 1,
                  "_content.input.mccSession1/size": 1
              },
      

      is correctly saved

      The contenttool works fine with

      "_content.input.mccSession1/size": [ ],

            Unassigned Unassigned
            raphael Raphaƫl Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: