Moodle
  1. Moodle
  2. MDL-15523

Course backup dont work if have Quiz

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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
    • Rank:
      9430

      Description

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

        Activity

        Hide
        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
        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 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 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
        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
        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 added a comment -

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

        Show
        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: