-
Notifications
You must be signed in to change notification settings - Fork 93
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
If user mistakenly attempts to delete a comment, fail gracefully #190
Conversation
matks
commented
Nov 16, 2023
Questions | Answers |
---|---|
Description? | Fixes 2 issues described in PrestaShop/PrestaShop#34512 : missing redirect after successfull deletion of a comment, and missing handling of bad input when delete is called on a comment that does not exist |
Type? | bug fix |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | Fixes PrestaShop/PrestaShop#34512 |
How to test? | Please follow the ticket instructions |
Co-authored-by: Nicolas Lœuillet <nicolas@loeuillet.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested OK. Indeed, The comment cannot be found to delete 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @matks ,
Tested on 1.7.8.x, 8.0.x, 8.1.x and develop.
Works as expected, no more exception.
Screen.Recording.2023-11-17.at.14.27.00.mov
It is QA ✅
Thanks @matks and @florine2623 |