Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7692

Module Game : Intro fields definition inconsistency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.8
    • Fix Version/s: None
    • Component/s: Module: Game
    • Labels:
      None
    • Plugin Version:
      2019-03-30-1
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      In the file db/install.php line 11-12, the fields intro and introformat are defined with NOTNULL="true" while in db/upgrade.php line 1826-1836 they are defined to accept null value. The result is that on a fresh install null values are not accepted while on a plugin upgrade they are. I've had data backuped with null intro on a Moodle with upgraded game that couln't be restored on a Moodle with a freshly installed game.

        Attachments

          Activity

            People

            Assignee:
            bdaloukas Vasilis Daloukas
            Reporter:
            jfrouleau Jean-François Rouleau
            Participants:
            Component watchers:
            Vasilis Daloukas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: