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

add new upgrade/install test that stops everything if invalid plugin detected

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Administration
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      1/ the dir name can not contain ".-", in case of module it must not contain "_"
      2/ the dir name should match the language file name
      3/ there should not be old style en_utf8 dir
      4/ there should not be the postgresql.sql and mysql.sql files
      5/ the version number if present must be above 2010000 (already there)
      6/ all letters in dir name must be lowercase

      I have witnessed many false alarms from people that named the book folder incorrectly, the worst part is if the tables are created from the wrong plugin, then you can not install the new plugin any more.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                21/Feb/11