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

Error in quiz, distribution 17 june 2005

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      All
    • Database:
      Any
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      There is an extra s on the file:

      moodle/mod/quiz/db/postgres7.sql

      Where it reads prefix_quiz_rqp_types

      it should be prefix_quiz_rqp_type

      perhaps the same error is in

      /moodle/mod/quiz/db/mysql.sql

        Gliffy Diagrams

        1. bug1.html
          67 kB
          and73exa0
        2. bug16.html
          28 kB
          bil65klo3
        3. bug17.html
          32 kB
          bil65klo3
        4. bug18.html
          19 kB
          bil65klo3
        5. bug2.html
          27 kB
          and73exa0
        6. bug3.html
          28 kB
          and73exa0

          Activity

          Hide
          dougiamas Martin Dougiamas added a comment -

          From Leonardo Lazarte (llazarte at mat.unb.br) Sunday, 19 June 2005, 04:04 PM:

          This simple typo prevents the whole installation of Moodle.

          Please, anybody with access to the code, take this extra s out!

          From Gustav Delius (gwd2 at york.ac.uk) Monday, 20 June 2005, 04:22 AM:

          Penny, could you please look into this? Thanks.

          From (penny at catalyst.net.nz) Monday, 20 June 2005, 05:32 AM:

          All I can see that is wrong is this line:

          CREATE UNIQUE INDEX prefix_quiz_rqp_type_name_uk ON prefix_quiz_rqp_type (name);

          which should be

          CREATE UNIQUE INDEX prefix_quiz_rqp_type_name_uk ON prefix_quiz_rqp_types (name);

          It certainly should not prevent the whole installation, it's just an index. I have fixed it though.

          Please confirm I have fixed the correct problem.

          Show
          dougiamas Martin Dougiamas added a comment - From Leonardo Lazarte (llazarte at mat.unb.br) Sunday, 19 June 2005, 04:04 PM: This simple typo prevents the whole installation of Moodle. Please, anybody with access to the code, take this extra s out! From Gustav Delius (gwd2 at york.ac.uk) Monday, 20 June 2005, 04:22 AM: Penny, could you please look into this? Thanks. From (penny at catalyst.net.nz) Monday, 20 June 2005, 05:32 AM: All I can see that is wrong is this line: CREATE UNIQUE INDEX prefix_quiz_rqp_type_name_uk ON prefix_quiz_rqp_type (name); which should be CREATE UNIQUE INDEX prefix_quiz_rqp_type_name_uk ON prefix_quiz_rqp_types (name); It certainly should not prevent the whole installation, it's just an index. I have fixed it though. Please confirm I have fixed the correct problem.
          Hide
          and73exa0 and73exa0 added a comment -

          bugs

          Show
          and73exa0 and73exa0 added a comment - bugs
          Hide
          bil65klo3 bil65klo3 added a comment -

          bugs

          Show
          bil65klo3 bil65klo3 added a comment - bugs

            People

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

              Dates

              • Created:
                Updated:
                Resolved: