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

Edit PDF Ajax error saving pages.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.6
    • Assignment
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-42150-master
    • Hide
      1. Create an assignment with Annotate PDF enabled, File submissions enabled, upload a pdf as a student, login as a teacher and grade the student
      2. Open the PDF editor
      3. Add a line
      4. Close the PDF editor
      5. Reopen the PDF editor
      6. Verify the line loads in the position is was before you closed the editor
      Show
      Create an assignment with Annotate PDF enabled, File submissions enabled, upload a pdf as a student, login as a teacher and grade the student Open the PDF editor Add a line Close the PDF editor Reopen the PDF editor Verify the line loads in the position is was before you closed the editor
    • 1
    • FRONTEND Sprint 5

    Description

      Errors saving pages.

      {"error":"Coding error detected, it must be fixed by a programmer: PHP catchable fatal error","stacktrace":"* line 393 of \/lib\/setuplib.php: coding_exception thrown\n* line 294 of \/mod\/assign\/feedback\/editpdf\/classes\/page_editor.php: call to default_error_handler()\n* line 174 of \/mod\/assign\/feedback\/editpdf\/classes\/page_editor.php: call to assignfeedback_editpdf\\page_editor::add_annotation()\n* line 103 of \/mod\/assign\/feedback\/editpdf\/ajax.php: call to assignfeedback_editpdf\\page_editor::set_annotations()\n","debuginfo":"Argument 1 passed to assignfeedback_editpdf\\page_editor::add_annotation() must be an instance of assignfeedback_editpdf\\annotation, instance of stdClass given, called in [dirroot]\/mod\/assign\/feedback\/editpdf\/classes\/page_editor.php on line 174 and defined\nError code: codingerror","reproductionlink":"http:\/\/damyon.moodle.local\/im\/"}

      Attachments

        Issue Links

          Activity

            People

              damyon Damyon Wiese
              damyon Damyon Wiese
              Dan Poltawski Dan Poltawski
              Mark Nelson Mark Nelson
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13