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

Export to portfolio broken on Assignment grading screen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.5.4, 3.6.2
    • Assignment, Portfolio
    • MOODLE_35_STABLE, MOODLE_36_STABLE

      To reproduce

      • Enable portfolios
      • Enable file export portfolio (enabled and visible)
      • Create an Assignment, upload a test assignment for a user etc. 
      • Show the grading screen
      • The submission(s) now say 'Export to portfolio' underneat
      • click the option

      Error, "sorry the requested file could not be found"

      Basic analysis...

      It's going wrong in mod/assign/locallib.php in function load_data() around line 9252. A check is made that the requester's user id and the uploader's id (the student) are the same. Which they never will be. The failure throws the Exception. 

      If the student views the Assignment, they see the link for their own file and it works fine (as expected) 

            Unassigned Unassigned
            howardsmiller Howard Miller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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