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

Export portfolio from grading assign page being a teacher

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.3.8, 3.5.2, 4.3
    • Assignment, Portfolio
    • MOODLE_33_STABLE, MOODLE_35_STABLE, MOODLE_403_STABLE
    • MDL-63519-master
    • Hide

      Prerequisites:
      A course with a teacher and student enrolled.

      Testing:

      1. Log in as admin
      2. Advanced features > Enable portfolios >yes
      3. Manage portfolios > File download > Enabled and visible
      4. Log in as teacher
      5. Turn editing on
      6. Add an Assignment with annotation feedback enabled.
      7. Log in as student
      8. Add submission for the assignment created.
      9. Log in as teacher
      10. Go to the assignment and provide annotated feedback for the submission.
      11. When on the grading page, click on the 'Export to portfolio' link under the submission column
      12. Confirm you DO NOT get an error message
      13. Continue to export using 'Leap'
      14. When the zip file has been downloaded, confirm the file in the files folder correspond to the student's submission.
      15. Repeat #11-13, but with the annotated feedback.
      16. Confirm the file in the files folder correspond teacher's feedback in #10
      17. Log in as a student
      18. Go to the assignment page
      19. Click on the 'Export to portfolio' link under the student's submission
      20. Repeat #12-14
      21. Click on the 'Export to portfolio' link under the teacher's feedback
      22. Repeat #12-13 and #16
      Show
      Prerequisites: A course with a teacher and student enrolled. Testing: Log in as admin Advanced features > Enable portfolios >yes Manage portfolios > File download > Enabled and visible Log in as teacher Turn editing on Add an Assignment with annotation feedback enabled. Log in as student Add submission for the assignment created. Log in as teacher Go to the assignment and provide annotated feedback for the submission. When on the grading page, click on the 'Export to portfolio' link under the submission column Confirm you DO NOT get an error message Continue to export using 'Leap' When the zip file has been downloaded, confirm the file in the files folder correspond to the student's submission. Repeat #11-13, but with the annotated feedback. Confirm the file in the files folder correspond teacher's feedback in #10 Log in as a student Go to the assignment page Click on the 'Export to portfolio' link under the student's submission Repeat #12-14 Click on the 'Export to portfolio' link under the teacher's feedback Repeat #12-13 and #16
    • Team Alpha - Planning I4-2023

      Hi!! We have found a very strange issue, we are in the 3.3.8 and if a teacher tries to export to portfolio a student submission from assign grading page, an error occurs:

      Debug info: 
      Error code: filenotfound
      Stack trace:   
      line 8782 of /mod/assign/locallib.php: portfolio_caller_exception thrownline 185 of /portfolio/add.php: call to assign_portfolio_caller->load_data() 

      We have only active the 'Download file' in portfolio configuration.

      Maybe it is related with (MDL-48727)

      Replication steps:

      1. Log in as admin
      2. Advanced features > Enable portfolios >yes
      3. Manage portfolios > File download > Enabled and visible
      4. Log in as teacher
      5. Turn editing on
      6. Add an Assignment
      7. Log in as student
      8. Add submission
      9. Verify that exporting to portfolio works
      10. Log in as teacher
      11. View all submissions
      12. Export to portfolio fails with a 'file not found' error

      The issue occurs on the 'View all submissions' page as well as on the grading page for an individual submission.

      Note: This error also occurs if the teacher has provided an annotated pdf without the student submitting anything.

            Votes:
            25 Vote for this issue
            Watchers:
            35 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 3 minutes
                4h 3m

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