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

Course backup dont work if have Quiz

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.9.1
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
      None
    • Environment:
      Ubuntu Server 7.10 , default LAMP
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Course backup dont work if have Quiz, dont pass and dont generate the zip file of backup

        Gliffy Diagrams

          Activity

          Hide
          stronk7 Eloy Lafuente (stronk7) added a comment -

          Hi Jairo, can you try to enable debug (in admin->server->debugging) to see if the page shows some extra info about the error?

          Assigning this to Tim... thanks for the report, ciao

          Show
          stronk7 Eloy Lafuente (stronk7) added a comment - Hi Jairo, can you try to enable debug (in admin->server->debugging) to see if the page shows some extra info about the error? Assigning this to Tim... thanks for the report, ciao
          Hide
          jairo.serrano Jairo Serrano added a comment -

          On debug activate show the follow message:

          "Fatal error: Call to undefined method question_essay_qtype::extra_answer_fields() in /var/www/aulas/question/type/questiontype.php on line 440"

          Show
          jairo.serrano Jairo Serrano added a comment - On debug activate show the follow message: "Fatal error: Call to undefined method question_essay_qtype::extra_answer_fields() in /var/www/aulas/question/type/questiontype.php on line 440"
          Hide
          timhunt Tim Hunt added a comment -

          This makes no sense to me. That method is defined on line 104 of question/type/questiontype.php, and just a few lines above the error you report, it has successfully called the extra_question_fields method, which is very similar.

          Also, when I test, I can backup a course with a quiz and essay questions in 1.9+.

          Show
          timhunt Tim Hunt added a comment - This makes no sense to me. That method is defined on line 104 of question/type/questiontype.php, and just a few lines above the error you report, it has successfully called the extra_question_fields method, which is very similar. Also, when I test, I can backup a course with a quiz and essay questions in 1.9+.
          Hide
          jairo.serrano Jairo Serrano added a comment -

          the server was updated to 1.9.1weekly and works fine... thanks for all!

          Show
          jairo.serrano Jairo Serrano added a comment - the server was updated to 1.9.1weekly and works fine... thanks for all!

            People

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

              Dates

              • Created:
                Updated:
                Resolved: