Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28099

filepicker form element does not work with element names with an index such as image[0]

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.4
    • 2.1
    • Files API, Forms Library
    • None

    Description

      draftitemid is not returned by form when the element name of the item has an index eg. image[0]. Draft item does not get passed through from POST data. So repeat_elements or anything else in forms including filepicker element with an index will not work.

      Attachments

        Activity

          People

            jamiesensei Jamie Pratt
            jamiesensei Jamie Pratt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1/Jul/11