[6.2] Changelog shows all changes not just latest#48015
Conversation
|
@MarkRS-UK please have a look at the code style errors and fix them. |
|
Thank you for your contribution. Could you please check your development/Git setup? It’s currently almost impossible to review this PR because entire files appear to have been replaced, probably due to tab or CRLF issues. |
|
I have tested this item 🔴 unsuccessfully on 6be3675 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48015. Verdict: Needs one small change — the feature works, but it introduces a PHP warning on a The pr does what it claims: the extension changelog modal (System → Manage → Extensions → VerificationTested on a clean 6.2-dev build of this PR (DDEV, PHP 8.3). Seeded an extension (
Finding (needs change) — PHP warning when the changelog is empty or the URL fails
foreach ($changelog->changes as $key => $entry) { // ManageModel.phpIf I reproduced both cases at runtime (empty Real-world visibility: in the running backend the warning does not surface in the modal — Suggested fixInitialise the property to an array — one line, fixes both cases: // libraries/src/Changelog/Changelog.php
public $changes = [];(Optionally also guard in the model: Optional notes
|
|
Thanks for that. I've implemented all of those. Tested with a valid changelog and with a broken changelog URL which simply yields a blank dialog. |
|
I have tested this item ✅ successfully on 6de5081 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48015. |
|
Seems like a good idea, but is "releasedate" a valid tag? It's not listed in the documentation. From that point of view, I'd say this would be out of scope for this PR. |
not yet but, all changelogs have that information especially when you are showing all items like in this pr |
|
What is that date then? Looks to me like it's the creation date, adding "01" if a day isn't specified. Is that meant to signify version release date? That's not what I would have guessed. |
|
version release date |

Summary of Changes
Change changelog code to show all changelog entries for an extension in the admin panel.
Testing Instructions
Ensure an extension that supplies more than one changelog entry is installed.
Select the extension in the System->Manage->Extensions list of the admin panel.
Click on the version number of the selected extension
Actual result BEFORE applying this Pull Request
A dialogue box appears with the changelog entry for the currently installed version.
Expected result AFTER applying this Pull Request
A dialogue box appears with ALL changelog entries.
Other comments
I wanted to make the list scroll to the currently installed version and have supplied each entry with an id for that purpose, but I don't know how to run the required javascript when the dialogue box opens.
Link to documentations
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed