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

Repeater with file doesn't work well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.5.6, 3.7.4, 3.8.1
    • 3.8
    • None
    • None

      Create a repeater :

      <cms:repeater name="meta-attachment" initial-size="0">
             <label i18n="false">files</label>
             <description i18n="false">files</description>
             <cms:add-label i18n="false">add</cms:add-label>
             <cms:del-label i18n="false">del</cms:del-label>
             <cms:metadata name="meta-file" type="file">
                 <label i18n="false">file</label>
                 <description i18n="false">file</description>
             </cms:metadata>
          </cms:repeater>
      

      Add 3 files, save.
      Remove the second file, save.
      => The 3rd file has disappeared

            Unassigned Unassigned
            lbouchet Loïc Bouchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: