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

XMLDB editor creates default tables for a subplugin with the wrong name.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1/ use sample local plugin from zip file to install local plugin with subplugins (2.6dev only === master)
      2/ use xmldb editor to create new local subplugin install.xml (2.6dev only === master)
      3/ use xmldb editor to create new tinymce editor subplugin install.xml (you need to create empty db folders in them)
      4/ use xmldb editor to create some new assignment subplugin install.xml

      Show
      1/ use sample local plugin from zip file to install local plugin with subplugins (2.6dev only === master) 2/ use xmldb editor to create new local subplugin install.xml (2.6dev only === master) 3/ use xmldb editor to create new tinymce editor subplugin install.xml (you need to create empty db folders in them) 4/ use xmldb editor to create some new assignment subplugin install.xml
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w29_MDL-40423_m26_localsubdir

      Description

      e.g. Creating a new table for a local plugin subplugin, will prefix the table
      with the local plugin type - not the sub plugin type.

      So for local plugin 'local_abc' with subplugins 'def' and the first subplugin 'def_hij', the table name default prefix will be 'local_abc' and not 'def_hij'.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              damyon Damyon Wiese
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Sep/13