You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
eecli generated add-ons won't update if they don't have an mcp file in distribution (even if not needed / used). #4430
Description of the problem
If you generate an add-on using the EE eecli.php method, the base add-on created will not update via the EE CP Add-on's panel.
If you increment the add-on version number, an update tab will be appear in the add-on CP area, but clicking on the update button for the add-on will have no effect.
Environment Details:
Version: 7.4.11
PHP Version 8.1
Possible Solution
It appears that the Addons.php update function only updates add-ons that include an mcp.addon.php file - even if the add-on does not have a backend (e.g. "has_cp_backend = 'n'"). So adding an mcp-route via the cli method (to index) resolves this issue, but this requirement is not apparent in the documentation.
A better solution would be fix the package_list method in ee/legacy/libraries/Addons.php so that it retrieves details of addons that don't have an mcp. file ...
Activity
Resolved #4430 where modules without mpc file did not update from CP
Merge pull request #4438 from ExpressionEngine/bug/7.x/update-modules…