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

wantsurl is passed between different sessions.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Libraries
    • Labels:
      None
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      Revert https://github.com/rajeshtaneja/moodle/compare/wip-mdl-57168-m1~1...wip-mdl-57168-m1 and run mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature:8

      You will observe the following randomly fails. Further investigation showed that wantsurl is passed between the sessions.

      001 Scenario: Submit a PDF file as a student and annotate the PDF as a teacher # /home/rajesh/moodles/im/moodle/mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature:8
            And I log in as "teacher1"                                               # /home/rajesh/moodles/im/moodle/mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature:31
              Moodle exception: Invalid user id More information about this error
              
                  
              ×
                  
              Debug info:
               
              Error code: invaliduserid
              
              
                  
              ×
                  
              Stack trace:
               
              line 496 of /lib/setuplib.php: moodle_exception thrown
              line 71 of /draftfile.php: call to print_error()
               (Exception)
       
      1 scenario (1 failed)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rajeshtaneja Rajesh Taneja
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: