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

Invalid content ID when creating H5P activity

    XMLWordPrintable

Details

    • Bug
    • Status: Waiting for integration review
    • Minor
    • Resolution: Unresolved
    • 3.9.3, 3.10, 3.11.7, 4.0.1
    • None
    • Content bank, H5P
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MDL-70223_311
    • MDL-70223_400
    • MDL-70223_master
    • Hide
      1. Login as an administrator
      2. Go to site administration -> language -> language packs
      3. Install another language pack ( Spanish , Arabic , … )
      4. Add a new course
      5. Add a new activity of type H5P 
      6. Click the URL that says ( Use the content bank (opens in new window) to manage your H5P files ) under Package File 
      7. Click Add button and choose any h5p content type (Accordion for example)
      8. Change the language from the language menu 
      9. Check to see that the Invalid ID Error is no longer shown and you can continue adding the content after changing language 
      Show
      Login as an administrator Go to site administration -> language -> language packs Install another language pack ( Spanish , Arabic , … ) Add a new course Add a new activity of type H5P   Click the URL that says ( Use the content bank (opens in new window) to manage your H5P files ) under Package File  Click Add button and choose any h5p content type (Accordion for example) Change the language from the language menu  Check to see that the Invalid ID Error is no longer shown and you can continue adding the content after changing language 

    Description

      When I use the content bank to add a H5P activity and I switching the language, I'm getting the following error:

      The error is not related to any H5P activity or language. I can reproduce the error with any combination. Furthermore I can also produce the error when I click on "Purge all caches" in development mode is activated.

      Attachments

        Activity

          People

            aya.saad Aya Saad
            mstimvol Tim Volckmann
            Laurent David Laurent David
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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