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
psyray opened this issue
Apr 22, 2019
· 4 comments
Labels
1.7.4.4Affects versions1.7.5.1Affects versionsBOCategory: Back OfficeBugType: BugFixedResolution: issue closed because fixedMinorSeverity: minor bug > https://build.prestashop.com/news/severity-classificationPositionsLabel: Which BO under menu is concerned
During module installation with the new actionCartUpdateQuantityBefore hook, this one is replaced by the obsolete actionBeforeCartUpdateQty which was commented in the cart class.
So the new hook actionCartUpdateQuantityBefore is never called.
This is caused by 2 bad behaviours during the hook registering of the module install :
Thanks for your report.
I manage to reproduce the issue with PS1.7.5.1 & PS1.7.4.4.
In my module, I used the actionCartUpdateQuantityBefore hook. mymodule.zip
In the BO => Design => Positions => the actionbeforecartupdateqty is used.
I’ll add this to the debug roadmap so that it’s fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Thanks!
1.7.4.4Affects versions1.7.5.1Affects versionsBOCategory: Back OfficeBugType: BugFixedResolution: issue closed because fixedMinorSeverity: minor bug > https://build.prestashop.com/news/severity-classificationPositionsLabel: Which BO under menu is concerned
Describe the bug
During module installation with the new actionCartUpdateQuantityBefore hook, this one is replaced by the obsolete actionBeforeCartUpdateQty which was commented in the cart class.
So the new hook actionCartUpdateQuantityBefore is never called.
This is caused by 2 bad behaviours during the hook registering of the module install :
To Reproduce
Steps to reproduce the behavior:
Fix
OR
OR
Don't know what's the correct fix to use to provide a PR
Additionnal information
PrestaShop version: 1.7.5.0 fresh installed, not upgraded
PHP version: 7.1
The text was updated successfully, but these errors were encountered: