No Code Attached Yet bug
avatar robbiejackson
robbiejackson
21 May 2024

Steps to reproduce the issue

Set up an extension server type update server as described in https://docs.joomla.org/Deploying_an_Update_Server. Include a changelogurl element which points to a changelog XML file.

Set up a changelog XML file as described in https://docs.joomla.org/Adding_changelog_to_your_manifest_file

In the admin back-end Update / Extensions click on Check For Updates.

The update should appear, and should have a blue Changelog button.

Click on the blue Changelog button.

Expected result

It should display the changelog entries from the changelog XML file on the update server.

Actual result

It shows the changelog title, but no content

System information (as much as possible)

Joomla 5.1

Additional comments

When the changelog button is pressed it triggers an http request to
index.php?option=com_installer&task=manage.loadChangelogRaw&eid=258&source=update&format=raw

This runs in particular the loadChangelog function in com_installer ManageModel.

The code queries the database to find the changelogurl field in the extensions table. Because the wasn't set in the installer manifest XML file, this field is blank. So it doesn't display any change log.

I believe that the code should instead use the changelogurl field in the udpates table. This is correctly set from the update server.

Developers may have different changelog XML files for different versions of their extension. This may mean they'll have different changelogurl entries for installed extensions and updates. So for updates Joomla should use the changelogurl field in the updates table (ie for the extension update) rather than the one in the extensions table (the changelog for the currently installed version).

avatar robbiejackson robbiejackson - open - 21 May 2024
avatar robbiejackson robbiejackson - change - 21 May 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 May 2024
avatar ClausKiss
ClausKiss - comment - 25 Sep 2024

Had the same issue. In my case the Austrian ö, ü etc. were the issue. Included them into <![CDATA[...]] and it worked


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

avatar Hackwar Hackwar - change - 28 Nov 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 28 Nov 2024
avatar roland-d
roland-d - comment - 16 Dec 2024

Hi @robbiejackson I have created a fix for this problem, if you could that test that, that would be great. PR is here:
#44626

avatar alikon alikon - change - 16 Dec 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-12-16 17:19:40
Closed_By alikon
avatar alikon alikon - close - 16 Dec 2024
avatar alikon
alikon - comment - 16 Dec 2024

closing as we have a pr to test #44626

avatar robbiejackson
robbiejackson - comment - 16 Dec 2024

The PR #44626 doesn't (currently) address this issue, so I don't think it should be closed at this stage.

avatar alikon alikon - change - 16 Dec 2024
Status Closed New
Closed_Date 2024-12-16 17:19:40
Closed_By alikon
avatar alikon alikon - reopen - 16 Dec 2024
avatar richard67 richard67 - change - 21 Dec 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-12-21 10:26:12
Closed_By richard67
avatar richard67 richard67 - close - 21 Dec 2024
avatar richard67
richard67 - comment - 21 Dec 2024

Closing as having a pull request. Please test #44652 . Thanks in advance.

Add a Comment

Login with GitHub to post a comment