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

Export fields in preset.xml in the order as shown in the Fields tab

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9, 1.9.1
    • Fix Version/s: 1.9.2
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      After importing a preset.zip that contains a number of fields in a certain order, that order will be kept within the "Fields" tab. The order is important, since the default sort field and the auto-created templates depend on it. There is no web based way to resort the order, so we have to take much care to import a preset.xml containing the fields in a clearly defined order.

      When exporting the preset, the resulting preset.zip contains a preset.xml that have all fields totally unsorted, in a totally unclear and unlogical order.

      Expected behaviour:
      The exported preset.xml should have all fields in the same order as in the web interface's "Fields" tab.

        Attachments

        1. MDL-14334.patch
          0.6 kB
          Robert Allerstorfer

          Issue Links

            Activity

              People

              • Assignee:
                roal Robert Allerstorfer
                Reporter:
                roal Robert Allerstorfer
                Tester:
                Petr Skoda
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jul/08