### Steps to reproduce the issue
There must be a plugin installed, witch has the necessary changelog-/server and -data activ. See
Go into System>Update>Extensions. In the upcoming extension-update-listview the changelog-item fails
### Expected result
There should be a link to a modal-windows at the changelog-item
### Actual result
I get no "changelog-version-item-link". Instead of this, I see N/A or in German: Unbekannt
### System information (as much as possible)
J4-alpha-dev-10 (NightlyBuild: 190525)
### Additional comments
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
so its a known issue?
No. I was wrong. 2 different issues.
Status | New | ⇒ | Discussion |
I can confirm this issue. I've build a custom plugin and followed the documentation https://docs.joomla.org/Adding_changelog_to_your_manifest_file
The updateserver infos are: https://raw.githubusercontent.com/ReLater/plg_system_changelogtest/master/updateserver-infos.xml
The cahngelog infos are https://raw.githubusercontent.com/ReLater/plg_system_changelogtest/master/changelog-infos.xml
After installing of version 0.0.1 of my test plugin.
Everything's OK in view "Extensions Manage"
but not in view "Extensions: Update":
After tests with my own plugin I tested with:
https://github.com/roland-d/component_joomla/releases/tag/v0.0.2
There the changelog in view "Extensions: Update" is empty:
@roland-d (creator of pr #24026
And when you or someone else will make a change to bring back the origin functionality?
Sorry, I have no idea how.
I will take a look
This is also related to PR #24890 which I need to fix again due to the conflict.
@ReLater There is an issue with your manifest file. This manifest file: https://raw.githubusercontent.com/ReLater/plg_system_changelogtest/master/updateserver-infos.xml has no changelogurl
tag in it. That is why it is missing from the updates table.
See my test manifest file here: https://rolandd.com/24026/lists.xml
@hgh-esn I think you have the same issue.
As far as I can tell, nothing is broken, just the manifest file is missing the changelogurl node.
There is an issue with your manifest file. This manifest file: updateserver-infos.xml has no changelogurl tag in it. That is why it is missing from the updates table.
I tried it without and with tag but then had the empty popup and was unsure... I've added an example code to the documentation to clarify which manifest file we talk about:
https://docs.joomla.org/Adding_changelog_to_your_manifest_file
Thanks! Will wait for the next nightly.
Tested successfully. All issues are solved.
Thank you!
Labels |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-31 13:23:22 |
Closed_By | ⇒ | alikon | |
Labels |
Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/25017
Do you have content in the modal?
Yes. All worked as expected after update to before-last nightly.
Maybe you want to test and check my plugin https://github.com/ReLater/plg_system_changelogtest . All relevant files can be seen in the master branch.
Install release 0.0.1!
Only the close buttons of the popups don't work corecctly but as far as I see that's a CSS issue.
I got it to run now. But it was something strange.
For my tests of the earlier version, I renamed the file: .../changelog.xml -> .../changelogs.xml
<update>-tags
in there. So (with 's') it was in the database after the plugin-installation..To test the latest version I haven't deinstalled my example plugin. But the xml-filename now was changed back - by default - to .../changelog.xml
without 's'. So it doesn't match to the db-entry and I only saw the modal with it's header line and a "blank" content area..
There was no message for the mismatching filenames.
@roland-d
It will be great, if you will give out an alert in the modal or as joomla-message, if there is a conflict between the filenames in the <updateurl-tag>
of the xml-file and that, what is stored in the database.
@ReLater
The close button of the modal is ok in my tests as you can see here..
@roland-d
Just another effect.
When you stay at an update-screen and the session becomes a timeout, you will see this message in the modal, when clicking to the version-link or update-button on the stayed screen - without reacting Joomla by a new login.:
That is a bit cryptical to users. Is there a way to bring out a more user readable message?
And last:
Where is that js-stored in the joomla file-structure?
.
@hgh-esn I find it hard to follow what you are doing.
It will be great, if you will give out an alert in the modal or as joomla-message, if there is a conflict between the filenames in the of the xml-file and that, what is stored in the database.
If you manually change the file on your server, you cannot expect Joomla to know what file you have there. If you want an updated changelog file to be read, you will need to re-install the extension.
That is a bit cryptical to users. Is there a way to bring out a more user readable message?
Please create a new issue for it so we can look into it. This issue is closed.
Where is that js-stored in the joomla file-structure?
build/media_source/com_installer/js/changelog.es6.js
Hi, can this issue open again, because on install the changelogurl is again empty with <changelogurl>
on xml.
No, on clean new install the plugin changelogurl isn't saved on the database on _extensions. other types (package/component/media/library) are working.
Hi, can this issue open again, because on install the changelogurl is again empty with on xml.
Well what about opening a new issue and add a link there? As this issue was closed 31 May 2019 nearly one year ago?
See Issue #23063