Plugin updates need to define a wrong namespace #9303
Labels
c: Platform
For Matomo platform changes that aren't impacting any of our APIs but improve the core itself.
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone
Eg in CustomDimensions plugin I had to use
Piwik\Plugins\CustomDimensions\Updates_0_1_1
but as updates are placed in anUpdates
directory within the plugin the platform should actually check forPiwik\Plugins\CustomDimensions\Updates\Updates_0_1_1
(as classnames are not allowed to start with a number we cannot usePiwik\Plugins\CustomDimensions\Updates\0_1_1
).I tried to use the correct namespace but then the platform throws an exception that it could not find the classname
Piwik\Plugins\CustomDimensions\Updates_0_1_1
.When fixing this issue we need to make sure to not break BC and to match both cases
The text was updated successfully, but these errors were encountered: