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

Error exception in content bank when an H5P file doesn't exist

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-72358-master
    • Hide
      1. Login as admin.
      2. Go to the content bank.
      3. Upload the files attached to the issue (accordion.5hp and arithmetic-quiz.h5p).
      4. Run the following SQL query: 

        DELETE FROM mdl_files
         WHERE component = 'contentbank' AND filearea = 'public' AND filename = 'accordion.h5p'

      5. Reload the Content bank page.
      6. Check there is no error displayed.
      7. Check that only "arithmetic-quiz.h5p" is displayed.

       

      Show
      Login as admin. Go to the content bank. Upload the files attached to the issue (accordion.5hp and arithmetic-quiz.h5p). Run the following SQL query:  DELETE FROM mdl_files WHERE component = 'contentbank' AND filearea = 'public' AND filename = 'accordion.h5p' Reload the Content bank page. Check there is no error displayed. Check that only "arithmetic-quiz.h5p" is displayed.  
    • Moppies Kanban

      An issue has been raised in MoodleCloud related to the content bank: MC-4062

      In some cases, loading the content bank, from a course page, gives an "Invalid H5P content URL", not offering any way to delete the offending content or create new one.

       

        1. accordion.h5p
          530 kB
        2. arithmetic-quiz.h5p
          731 kB
        3. MDL-72358_master.png
          MDL-72358_master.png
          33 kB
        4. MDL-72358_v3.11.png
          MDL-72358_v3.11.png
          33 kB

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Carlos Escobedo Carlos Escobedo
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h

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