I like to use the change log, that was introduced in this PR: #24026
Install an extension that uses change log and update server. I created my own extension for this. If you like you can test with this extension: https://github.com/astridx/boilerplate/releases/tag/v1.0.0
Make sure, that in the manage view the change log is shown
I can open the change log in the update view.
Open the update view and see, that there is N/A in the column for the change log
Current Joomla 4.0 Branch on Ubuntu. Browser: Firefox
Unfortunately, I can not test with the original files from PR #24026, because they are not available.
Labels |
Added:
?
|
@brianteeman Thank you. You're right. I could have seen that myself. Sorry.
But. In the zip of the old version , the URL was right. Only in the zip of the new version, the URL was wrong. I did not expect that. Because the URL was recognized by the manager, I was sure of an error in the update view.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-10-02 15:20:40 |
Closed_By | ⇒ | astridx |
Status | Closed | ⇒ | New |
Closed_Date | 2019-10-02 15:20:40 | ⇒ | |
Closed_By | astridx | ⇒ |
Now I have corrected the zip. The problem still exists. When I update the change log is not displayed. But: I can see it after the update.
what is the value of the changelogurl field in the #__extensions database table
@brianteeman Thank you for helping.
The changelogurl is:
https://raw.githubusercontent.com/astridx/boilerplate/tutorial/changelog.xml
In the manage view I can open the change log. The problem is in the update view
@brianteeman
I did not express myself well. I mean, when have installed version 1.0.0 and I check for updates. In this case I see this:
But I should see a link in the column change log to the change log for version 1.0.1.
So it is explained in #24026
@roland-d That's correct, right?
you dont have a changelog url defined in your update xml so the #__updates changelogurl field never gets populated
The code is working correctly as far as I can tell. The problem is the documentation is missing
@brianteeman Which documentation is missing?
https://docs.joomla.org/Adding_changelog_to_your_manifest_file
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-10-02 20:46:35 |
Closed_By | ⇒ | astridx |
I am ashamed, but I have seen the entry in update.xml
just now in JDoc. Before I did not see it. Many thanks for your help and sorry for the wrong error report.
Happens to all of us
The problem is in your code not in joomla ;)
You have set the update url to be https://github.com/astridx/boilerplate/blob/tutorial/changelog.xml
But that is the full github html page
You need to change that to be https://raw.githubusercontent.com/astridx/boilerplate/tutorial/changelog.xml