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

Creating a badge removes all draftfiles for a user

XMLWordPrintable

      Steps to reproduce:

      • Log in to Moodle in two different windows
      • Create a course, open it in window 1 and window 2
      • Window 1: Start creating a label and upload an image in the editor. Do not save at this time.
      • Window 2: Create a badge in the course, save it.
      • Window 1: Save the label
      • Confirm you don't see the uploaded image

      This is caused by badges_process_badge_image() - it deletes all draft files of the current user.

            stefan.hanauska Stefan Hanauska
            stefan.hanauska Stefan Hanauska
            Tim Hunt Tim Hunt
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 22 minutes
                22m

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