-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
TypeError: Unsupported operand types: int * string #3135
Comments
would it be possible to test with the latest github version? |
i don't have the greatest dev setup atm. - but will try to prioritize this :) |
Filtering by |
@elidrissidev it happens for all strings - not only |
Yeah but it wouldn't make sense to filter by a string in a Price column... |
From an engineering point of view, filtering by any value, other than numerical, must be avoided. As it is now in Backend the error appears and I get the popup with the animated loader and "Please wait..." message. If I refresh the page, all the content under the navigation menu disappears. I have to end the session and login again. Obviously such a situation must be prevented and we should not rely on the honesty of the user to use only numerical/dates values when filtering the grid columns. |
@all-contributors add @m-overlund bug |
I've put up a pull request to add @m-overlund! 🎉 |
You can crash the admin product page, by filtering for Price from: NULL to: NULL
TypeError: Unsupported operand types: int * string
https://bmb-import.sentry.io/share/issue/7fb970b852054849b8f142c3baeaecdb/
PHP 8.1
OpenMage 19.4.23
(Happens with and without TBT_EnhancedGrid)
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: