Pending

User tests: Successful: Unsuccessful:

avatar svanschu
svanschu
18 Jun 2024

Pull Request for Issue #43668 .

Summary of Changes

Do the same extension load in the checkExistingExtension as for InstallerAdapter

Testing Instructions

Try to install a plugin as update and get the information of the current installed plugin in the preflight.

For example

public function preflight(string $type, InstallerAdapter $parent): bool
{
    $cache         = new Registry($parent->extension->manifest_cache);
    $this->oldVersion = $cache->get('version');

    return true;
}

Actual result BEFORE applying this Pull Request

$this->oldVersion = null

Expected result AFTER applying this Pull Request

$this->oldVersion = <the actual currently installed version>

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar svanschu svanschu - open - 18 Jun 2024
avatar svanschu svanschu - change - 18 Jun 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Jun 2024
Category Libraries
avatar HLeithner
HLeithner - comment - 15 Nov 2024

This pull request has been automatically rebased to 5.3-dev.

Add a Comment

Login with GitHub to post a comment