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

Notice errors when previewing a template survey from create questionnaire screen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.0, 2.1
    • 2.0.2
    • Module: Questionnaire
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE

    Description

      When you add a new questionnaire instance to a course, and click on the name of a template or public survey a preview of that survey opens in a popup window. There are a few notice errors in that window...

      This one appears with the title/subtitle/intro text...

      Notice: Trying to get property of non-object in /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/locallib.php on line 821 Call Stack: 0.0009 690456 1.

      {main}() /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/preview.php:0 0.1712 6475016 2. questionnaire->survey_print_render() /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/preview.php:92 0.1733 6487120 3. questionnaire->print_survey_start() /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/locallib.php:889

      This one appears to the left of the question...

      Notice: Trying to get property of non-object in /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/questiontypes/questiontypes.class.php on line 825 Call Stack: 0.0009 690456 1. {main}

      () /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/preview.php:0 0.1712 6475016 2. questionnaire->survey_print_render() /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/preview.php:92 0.2670 9352760 3. questionnaire_question->survey_display() /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/locallib.php:897 0.2670 9352864 4. questionnaire_question->question_display() /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/questiontypes/questiontypes.class.php:805 0.2670 9352952 5. questionnaire_question->questionstart_survey_display() /fs1/www_root/jmg324/ou-moodle/mod/questionnaire/questiontypes/questiontypes.class.php:790 1

      Attachments

        Issue Links

          Activity

            People

              mchurch Mike Churchward
              jenny-gray Jenny Gray
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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