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

H5P content type Accordion: extra Title field in H5P editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.9
    • Fix Version/s: None
    • Component/s: H5P
    • Testing Instructions:
      Hide

      Test 1 - Upgrading existing library

      Before installing the patch:

      1. Login as admin.
      2. Go to 'Content bank' (in the drawer for Boost theme, in Navigation block > Site pages for Classic theme).
      3. Click on 'Upload' button.
      4. Upload attached accordion.h5p file and 'Save changes'.
      5. Edit the content.
      6. Verify that there are two "Title" fields in each panel ("Cherries", "Cranberries", "Blackberries" and "Açaí berries").

      Test

      1. Install the patch.
      2. Go to Site Administration.
      3. Upgrade Moodle version.
      4. Go to 'Content bank' (in the drawer for Boost theme, in Navigation block > Site pages for Classic theme).
      5. Double clic on the "accordion-6-7138.h5p" content.
      6. Edit the content.
      7. Confirm there is only a "Title" field in the "Content" group.
      8. Confirm there is a "Metadata" icon next to the "Text" field.

      Test 2 - Installing a new library

      Prerequisite

      The H5P.AdvanceText library should not be installed before the test.

      1. Login as admin.
      2. Go to Site administration > H5P > Manage H5P content types.
      3. Click on "Installed H5P libraries" tab.
      4. Verify there is no row with the value "Text" under Description.
      5. If it exists, click on the "Trash" icon in the same row.

      Test

      1. Login as admin.
      2. Go to 'Content bank' (in the drawer for Boost theme, in Navigation block > Site pages for Classic theme).
      3. Click on 'Upload' button.
      4. Upload accordion.h5p file and 'Save changes'.
      5. Edit the content.
      6. Confirm there is only a "Title" field in the "Content" group.
      7. Confirm there is a "Metadata" icon next to the "Text" field.
      Show
      Test 1 - Upgrading existing library Before installing the patch: Login as admin. Go to 'Content bank' (in the drawer for Boost theme, in Navigation block > Site pages for Classic theme). Click on 'Upload' button. Upload attached accordion.h5p file and 'Save changes'. Edit the content. Verify  that there are two "Title" fields in each panel ("Cherries", "Cranberries", "Blackberries" and "Açaí berries"). Test Install the patch. Go to Site Administration. Upgrade Moodle version. Go to 'Content bank' (in the drawer for Boost theme, in Navigation block > Site pages for Classic theme). Double clic on the "accordion-6-7138.h5p" content. Edit the content. Confirm there is only a "Title" field in the "Content" group. Confirm there is a "Metadata" icon next to the "Text" field. Test 2 - Installing a new library Prerequisite The H5P.AdvanceText library should not be installed before the test. Login as admin. Go to Site administration > H5P > Manage H5P content types . Click on "Installed H5P libraries" tab. Verify there is no row with the value "Text" under Description. If it exists, click on the "Trash" icon in the same row. Test Login as admin. Go to 'Content bank' (in the drawer for Boost theme, in Navigation block > Site pages for Classic theme). Click on 'Upload' button. Upload accordion.h5p file and 'Save changes'. Edit the content. Confirm there is only a "Title" field in the "Content" group. Confirm there is a "Metadata" icon next to the "Text" field.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-68921-master
    • Sprint:
      Moodle 3.9 - Moppies Kanban

      Description

      The Accordion H5P content type shows an extra "Title" field in each Panel item. See the attached screenshot.

        Attachments

          Activity

            People

            Assignee:
            vmdef Víctor Déniz Falcón
            Reporter:
            vmdef Víctor Déniz Falcón
            Peer reviewer:
            Amaia Anabitarte
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 40 minutes
                1d 2h 40m