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

Survey module install script hardcodes ids and relies on autoincrement=1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.7.3, 2.8.1
    • Survey
    • MySQL
    • MOODLE_27_STABLE, MOODLE_28_STABLE

      Survey module stores fixed question id in mdl_survey table (hard-coded in install.php) instead of storing dynamic question id from survey_questions table, due to that in case of cluster when questions are not in sequential order in mdl_survey_questions table questions are not displaying.

      To Reproduce.
      1) In MySQL my.ini add following line
      auto_increment_increment =3
      2) Restart MySQL and install Moodle.

            Unassigned Unassigned
            pinky Pinky Sharma
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.