-
-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.1.0] No install button after downloading new package #16672
Comments
This also happens if you uninstall just the current version. It shows as "not installed" but there's no "Install" button. As far as I can tell, selecting "Reinstall" acts as if it's the "Install" button in all cases. |
It looks like this problem was introduced with #16604. Quite some code expects the value to be revolution/manager/assets/modext/workspace/package.grid.js Lines 191 to 195 in 62b154a
revolution/core/src/Revolution/Processors/Workspace/Packages/GetList.php Lines 117 to 118 in 62b154a
To fix the issue, the function revolution/core/src/Revolution/Processors/Workspace/Packages/GetList.php Lines 149 to 153 in 62b154a
|
I'll take a look at this and post a fix later today. Surprised I didn't catch this while working on the referenced PR! |
This will have to be addressed in a different PR. When you mention the newer version being available, are you meaning available locally or remotely? Or does the same problem occur in both scenarios? |
Please. |
Done #16676 |
Closed #16676. Not an issue. I tested this with a minimal package that has separate "Install" and "Update" sections in resolvers and validators. I can confirm that in 3.1.0, using "reinstall" works as it should with respect to resolvers and validators. For new packages, the "Install" section executes, for new versions that update the package, the "Update" section executes. |
Bug report
Summary
I'm not seeing the install button appear in the Package Management grid, after downloading a new package in MODX 3.1.0.
Step to reproduce
Observed behavior
Expected behavior
Green install button should be present for packages that have not yet been installed.
Environment
MODX 3.1.0
Nginx
PHP 8.2
MariaDB 11.4
Firefox / Chromium both have this issue. No errors in console.
All is well in 3.0.6.
The text was updated successfully, but these errors were encountered: