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

Upgrade not triggered when plugins share a name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Caching, Libraries
    • Labels:
    • Testing Instructions:
      Hide
      1. Find a way to have 2 plugins with the same name, example:
        • repository_evernote
        • portfolio_evernote
      2. Install them
      3. Visit the admin page admin/index.php?cache=0
      4. Now update the version of one of them
      5. Make sure the upgrade is triggered, proceed to the upgrade
      6. Update the version of one of the other
      7. Make sure the upgrade is triggered
      Show
      Find a way to have 2 plugins with the same name, example: repository_evernote portfolio_evernote Install them Visit the admin page admin/index.php?cache=0 Now update the version of one of them Make sure the upgrade is triggered, proceed to the upgrade Update the version of one of the other Make sure the upgrade is triggered
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41632-master

      Description

      When a plugin shares the name of another one with a different type, the upgrade is not always triggered.

      The reason is that we are not using the full frankenstyle name.

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Petr Skoda Petr Skoda
            Integrator:
            Sam Hemelryk Sam Hemelryk
            Tester:
            Andrew Davis Andrew Davis
            Participants:
            Component watchers:
            Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              18/Nov/13