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

Add option in XMLB Editor to automatically save xml files if enum info is detected, trimming it.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      With the enums dropped from core, it's necessary to facilitate to developers to have one simple utility built in the XMLDB Editor to save easily their install.xml files with the enum data deleted. Ideally it should:

      • Detect if ENUM/ENUMVALUES data es present
      • Present message informing about that and:
        1. Showing upgrade code necessary (if there is any ENUM).
        2. Delete enum code from xml file and unload it.

      That's all. Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stronk7 Eloy Lafuente (stronk7)
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10