Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2, 1.8
    • Component/s: Lesson
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      In the lesson_answers table the answer field can be NULL for end of branch, cluster and end of cluster pages.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            bushido Mark Nielsen added a comment -

            This field can now be null.

            Due to the version number changes in 1.8 and HEAD, some users will get this db fix twice (1.7 users who upgrade their 1.7 with this fix and then upgrade to 1.8 or later). Getting this fix twice does no harm as far as I can tell.

            Show
            bushido Mark Nielsen added a comment - This field can now be null. Due to the version number changes in 1.8 and HEAD, some users will get this db fix twice (1.7 users who upgrade their 1.7 with this fix and then upgrade to 1.8 or later). Getting this fix twice does no harm as far as I can tell.
            Hide
            dougiamas Martin Dougiamas added a comment -

            That's why we NEVER make database changes in stable branches ... you need to think about people going from stable to stable.

            In this case I think you will get away with it but in future please avoid this sort of thing. Thanks!

            Show
            dougiamas Martin Dougiamas added a comment - That's why we NEVER make database changes in stable branches ... you need to think about people going from stable to stable. In this case I think you will get away with it but in future please avoid this sort of thing. Thanks!
            Hide
            bushido Mark Nielsen added a comment -

            Hi Martin,

            Thanks for catching this one. This was very sloppy on my part because I somehow blindly rushed passed the Golden Rule of no database changes in stable branches. I'm really sorry about all this and it shouldn't happen again.

            Cheers and thanks,
            Mark

            Show
            bushido Mark Nielsen added a comment - Hi Martin, Thanks for catching this one. This was very sloppy on my part because I somehow blindly rushed passed the Golden Rule of no database changes in stable branches. I'm really sorry about all this and it shouldn't happen again. Cheers and thanks, Mark

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  30/Mar/07