Autoupgrade : when module is outdated, link to update the module is badly displayed
Prerequisites
- [X] I understand and accept the project's code of conduct.
- [X] I have already searched in existing issues and found no previous report of this bug.
Describe the bug and add attachments
When the module autoupgrade checks its own version and finds out it is not the latest version, a warning message is displayed and it contains a bad link:
This happens on PrestaShop 9.0.0 (develop branch).
Expected behavior
The warning message link should be displayed correctly.
Steps to reproduce
- Install a 9.0.0 shop (develop branch)
- Install module autoupgrade 4.16.1
- Click on "Configure" module autoupgrade on backoffice page "Module Manager"
- See the warning
The bug can only be seen on an old autoupgrade version because the warning message is displayed when user uses an old version. So the bug cannot be seen on autoupgrade 4.16.3 .
PrestaShop version(s) where the bug happened
9.0.0
PHP version(s) where the bug happened
8.1
If your bug is related to a module, specify its name and its version
autoupgrade 4.16.1
Your company or customer's name goes here (if applicable).
No response
I submitted a PR https://github.com/PrestaShop/autoupgrade/pull/625
Duplicate of #33740
Hello @matks
I reproduce the issue with 8.1.x and develop with v4.16.1. Thanks for your PR :rocket:
Thanks!
Duplicate of #33740
Indeed 😄 nice catch
Posting here as https://github.com/PrestaShop/autoupgrade/pull/625 is closed
It may be better to stop displaying the breadcrumbs in the text actually. It would solve this character issue, plus it is not always accurate as some versions of PrestShop had this page named differently (i.e Updates was called Notifications).