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

H5P content is not updated when alias is used in Content bank repository

XMLWordPrintable

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-68873-master
    • Hide

      Testing covered by behats tests using --tags=@repository_contentbank

      Manual testing

      1. Login as admin, create a course and go inside it.
      2. Go to the course content bank (on the drawer in boost or in the navigation block in classic)
      3. Click on upload button
      4. Upload the provided H5P package arithmetic-quiz.h5p and click on "Save changes" button
        • Check the content is displayed correctly (a blue iframe with "Solve these multiplication quizzes as fast as you can!" and a "start" button)
      5. Return to the course and turn editing on
      6. Create a H5P activity using the following settings
        • Name: h5p activity
        • Package file: select the arithmetic-quiz from the content bank repository and select "Create an alias/shortcut to the file" when selecting the file
          • Check that a small arrow appears at the bottom left of the file icon like the screenshot 
      7. Click "save and display"
        • Check the content is displayed like the check on step 4
      8. Go the course content bank and click on the artihmetic-quiz
      9. Click in the edit button
      10. In the edition form set the following values:
        • Title: some text
        • Intro: This is a new text
      11. click on the save button
        • Check that when te content is displayed "This is a new text" appears instead the sentence from step 4.
      12. Go to the H5P activity in the course
        • Check the content is the same as the previous step.
      Show
      Testing covered by behats tests using --tags=@repository_contentbank Manual testing Login as admin, create a course and go inside it. Go to the course content bank (on the drawer in boost or in the navigation block in classic) Click on upload button Upload the provided H5P package  arithmetic-quiz.h5p  and click on "Save changes" button Check the content is displayed correctly (a blue iframe with "Solve these multiplication quizzes as fast as you can!" and a "start" button) Return to the course and turn editing on Create a H5P activity using the following settings Name: h5p activity Package file: select the arithmetic-quiz from the content bank repository and select "Create an alias/shortcut to the file" when selecting the file Check that a small arrow appears at the bottom left of the file icon like the screenshot  Click "save and display" Check the content is displayed like the check on step 4 Go the course content bank and click on the artihmetic-quiz Click in the edit button In the edition form set the following values: Title: some text Intro: This is a new text click on the save button Check that when te content is displayed "This is a new text" appears instead the sentence from step 4. Go to the H5P activity in the course Check the content is the same as the previous step.
    • Moppies Kanban

      Steps to reproduce:

      1. Create a course
      2. Access to the content bank and upload an H5P file.
      3. Create a page. In the content, use the H5P button to add the H5P content using the "Content bank" repository and selecting the option "Create an alias/shortcut to the file".
      4. View the page and check the H5P content is displayed.
      5. Access again to the content bank and edit the existing HP5 file (uploaded in step #2). Change, for instance, the description (to see easily if it's updated or not).
      6. Go to the page you created in step #3.

      Expected result:

      The H5P content is updated and displays the changes done in step #5.

       

      Current result:

      The H5P content is not updated (so the old content is still displayed).

        1. arithmetic-quiz.h5p
          731 kB
        2. MDL-68873.jpg
          MDL-68873.jpg
          45 kB
        3. screenshot_034.png
          screenshot_034.png
          15 kB

            tusefomal Ferran Recio
            sarjona Sara Arjona (@sarjona)
            Mihail Geshoski Mihail Geshoski
            Jake Dallimore Jake Dallimore
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            1 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 - 1 day, 40 minutes
                1d 40m

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