Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-1969

Plugins database rejects submissions based in DB table name


    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: moodle.org/plugins
    • Labels:


      I just tried to upload a new plugin to the plugins database. But it was rejected because the table name did not start with the frankenstyle component name. The problem is that since Moodle 2.3, table names can be no longer than 28 letters. But if your plugin is a 2.3 assignment submission type, the frankenstyle name must begin with the whopping long assignsubmission_ . My plugin's frankenstyle name is assignsubmission_onlinepoodll , but I had to change the table name to assignsubmission_onlinepood , to get under 28 characters. So the frankenstyle name is longer than the table name.

      The end result is that I can't upload my plugin to the database, without changing the frankenstyle name, and so a whole lot of code. Worse all the users who have installed it already won't be able to upgrade out of the situation because the newly named plugin will be identified as a completely different plugin.

      Do we really need to have this check? Or can we loosen it?

        Gliffy Diagrams


            Issue Links



                • Votes:
                  0 Vote for this issue
                  7 Start watching this issue


                  • Created: