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

Disabled H5P libraries are upgraded some times

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.11
    • Fix Version/s: None
    • Component/s: H5P
    • Labels:
    • Affected Branches:
      MOODLE_311_STABLE

      Description

      In MDL-69331, a feature to disable libraries was added. When a library is disabled, it shouldn't be upgraded but, sometimes, it's getting upgraded (it's not happening always).

      Steps to reproduce:

      1. On a clean site, login as admin.
      2. Go to "Site administration > Server > System paths" and set "Path to PHP CLI" with the proper value.
      3. Access to "Site administration > H5P > Manage H5P content types".
      4. Upload the attached .h5p file to the "H5P content type" field.
      5. Check "Accordion" content-type has been created and has version "1.0.23".
      6. Disable "Accordion" content-type.
      7. Access to "Site administration > H5P > H5P overview".
      8. Run the H5P scheduled task to download available H5P content types.
      9. Access to "Site administration > H5P > Manage H5P content types".

       

      Expected behaviour

      "Accordion" content-type still has version "1.0.23".

       

      Current behaviour

      Accordion" content-type has a newer version (i.e. "1.0.26").
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: