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

XMLDB editor does not allow ASC or DESC indexes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.10
    • Fix Version/s: None
    • Component/s: Database SQL/XMLDB
    • Labels:
    • Affected Branches:
      MOODLE_310_STABLE

      Description

      When attempting to specify an ordering for an index being created in the XMLDB editor, it strips the space between 'examplefield DESC' and makes it 'examplefielddesc' and will not allow creation stating the field doesn't exist. If you manually change the install XML to have the field 'examplefield DESC', the index is properly created, and if you use an upgrade.php script and manually change the field to 'examplefield DESC', the index is properly created.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              peterburnett Peter Burnett
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: