? Pending

User tests: Successful: Unsuccessful:

avatar Ruud68
Ruud68
11 Oct 2021

Pull Request for Issue # .

Summary of Changes

When you have a package installed that didn't have a changelogurl set in the manifest file and you upgrade that package with a version that does have a changelogurl set in the manifest, this changelogurl is not stored in that database.
currently changelogurl is only set (and used) on newly installed packages.
This PR fixes this bug and allows for already installed package have a changelogurl when the update package has one

Testing Instructions

install a package that does NOT have a changelogurl in the manifest file
upgrade that package with a version that DOES have a changelog URL in the manifest file

Actual result BEFORE applying this Pull Request

Changelogurl not added to the table and thus not used in extension manager

Expected result AFTER applying this Pull Request

Changelogurl correctly added to the extensions table and used in extension manager

Documentation Changes Required

avatar Ruud68 Ruud68 - open - 11 Oct 2021
avatar Ruud68 Ruud68 - change - 11 Oct 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2021
Category Libraries
avatar Ruud68 Ruud68 - change - 11 Oct 2021
The description was changed
avatar Ruud68 Ruud68 - edited - 11 Oct 2021
avatar Ruud68 Ruud68 - change - 11 Oct 2021
The description was changed
Title
Fix package installer net setting new changelogurl
[4.0] Fix package installer net setting new changelogurl
avatar Ruud68 Ruud68 - edited - 11 Oct 2021
avatar Ruud68 Ruud68 - edited - 11 Oct 2021
avatar Ruud68 Ruud68 - change - 11 Oct 2021
Title
[4.0] Fix package installer net setting new changelogurl
[4.0] Fix package installer not setting new changelogurl
avatar Ruud68 Ruud68 - edited - 11 Oct 2021
avatar joomdonation
joomdonation - comment - 16 Oct 2021

I have tested this item successfully on bfd9b0c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35794.

avatar joomdonation joomdonation - test_item - 16 Oct 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 16 Oct 2021

@Ruud68 Could you please check also FileAdapter? I don't have experience with this feature but looks like we have same issue with that adapter. Would be great if it could be fixed in this PR, too.

avatar Ruud68
Ruud68 - comment - 16 Oct 2021

Hi @joomdonation yes fileadapter and also templateadapter have same bug.
No experience with these two and now way to test them, that is why i left them out of the package adapter change.

will update pr to also (hopefully) fix them, but as said that will be a PR that i cannot test.
BTW I have very low hopes for this PR as probably nobody is able to test it, let alone test it for package, template and file updates :(

avatar Ruud68 Ruud68 - change - 16 Oct 2021
Labels Added: ?
avatar joomdonation
joomdonation - comment - 16 Oct 2021

@Ruud68 Thanks. Actually, TemplateAdapter is OK because it is handled in this line of code https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Installer/Adapter/TemplateAdapter.php#L592 . So please revert the change which you made to that adapter. We can even remove this line of code https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Installer/Adapter/TemplateAdapter.php#L583

avatar Ruud68
Ruud68 - comment - 18 Oct 2021

update to template adapter changed

avatar Ruud68
Ruud68 - comment - 26 Oct 2021

Are we good to go for the next release? if not what needs to be done to get this PR in there?

avatar HLeithner
HLeithner - comment - 27 Jun 2022

This pull request has automatically rebased to 4.2-dev.

avatar joomla-bot
joomla-bot - comment - 27 Jun 2022

This pull requests has been automatically converted to the PSR-12 coding standard.

avatar HLeithner HLeithner - change - 27 Jun 2022
Labels Added: ? ? ?
Removed: ?
avatar laoneo laoneo - change - 22 Oct 2022
Labels Added: ?
Removed: ? ?
avatar laoneo
laoneo - comment - 22 Oct 2022

I have tested this item successfully on 054ae22


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35794.

avatar laoneo laoneo - test_item - 22 Oct 2022 - Tested successfully
avatar Ruud68 Ruud68 - change - 10 Jan 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-01-10 10:01:48
Closed_By Ruud68
Labels Removed: ?
avatar Ruud68 Ruud68 - close - 10 Jan 2023

Add a Comment

Login with GitHub to post a comment