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

Discrepancy between installed and upgraded Moodle 2.1 on ratings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Ratings
    • Labels:

      Description

      While reviewing the whole DB structure, these discrepancies have been found between one 2.1 installed from scratch and one 2.1 upgraded from 2.0:

      Column component of table rating difference found in default_value:  !== unknown
      Column ratingarea of table rating difference found in default_value:  !== unknown

      The patch available just makes the defaults for the component & ratingarea to be, also, "unknown", so the discrepancy will be out.

      But I'm not sure if that is the correct way or we should, instead, fill all the current "unknows" in DB and then drop the default. Perhaps we can do that after 2.1 and my (simpler) patch is enough for now. For your entire consideration.

      Ciao

        Attachments

          Activity

            People

            • Assignee:
              andyjdavis Andrew Davis
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Integrator:
              Sam Hemelryk
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                1/Jul/11