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

File type exception when selecting a file while enrolment has been expired

XMLWordPrintable

    • MOODLE_39_STABLE, MOODLE_401_STABLE, MOODLE_403_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-80202-403
    • Hide
      1. Log in as admin
      2. Create user
      3. Enrole user as teacher in course
      4. Press Edit enrolment for teacher
        • Change Enrolment ends to a time in the past
      5. Navigate to course enrolment methods
      6. Enable Guest access
      7. Log out
      8. Log in as test user
      9. Access course and turn editing on
      10. Add a File a activity
      11. In the Select files element, press Add
      12. Choose Server files
      13. Confirm there is no exception thrown
      Show
      Log in as admin Create user Enrole user as teacher in course Press Edit enrolment for teacher Change Enrolment ends to a time in the past Navigate to course enrolment methods Enable Guest access Log out Log in as test user Access course and turn editing on Add a File a activity In the Select files element, press Add Choose Server files Confirm there is no exception thrown
    • 1
    • Team Hedgehog 2023 Review 4, Team Hedgehog 2024 Sprint 1.1

      I've the following scenario:

      1. Course with enrolment method "Guest access" enabled
      2. Enrol a user with role "Teacher" and expire the enrolment so that it looks like:
      3. Login using the enrolled user from step 2 and access the course
      4. Add a file activity to the course
      5. Selecting a file causes the following exception (screenshot from Moodle 4.1.6):

        1. (1) 12 Passed -- (Main)MDL-80202.png
          62 kB
          Kim Jared Lucas
        2. image-2023-11-21-07-18-10-956.png
          22 kB
          Tim Volckmann
        3. image-2023-11-21-07-18-38-476.png
          5 kB
          Tim Volckmann

            pholden Paul Holden
            mstimvol Tim Volckmann
            Stevani Andolo Stevani Andolo
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 7 minutes
                1h 7m

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