-
Notifications
You must be signed in to change notification settings - Fork 9.4k
"Something went wrong with processing the default view and we have restored the filter to its original state." and then the red never goes away and i cant refresh the page to add more content #26515
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
Comments
Hi @shischrum1994. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @shischrum1994 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hello @shischrum1994, Thank you for your report. Unfortunately, from the provided description, we can not reproduce the issue and start to work on fixing it. Can you please provide the steps, and possibly screenshots, which lead to the "Something went wrong with processing the default view and we have restored the filter to its original state." error message Thank you for collaboration |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @shischrum1994 thank you for you report, please provide additional description and steps to reproduce. feel free to open new issue. |
Preconditions - Magento 2.3.4 and items in catalog_product_entity where SKU is NULL |
This happens in 2.3.4 for sure, happened two times for me. It seems to be happening when you search for a SKU number that has been deleted, but related to migration from M1. There is a StackExchange post about this that has been viewed 11,000+ times. Google error message to confirm it. Solution is to empty ui_bookmark table. |
It also happens on Magento 2.3.5-p It's very random and you have to clear cache to get it to go away. It didn't happen on 2.3 |
This also happened in a custom module: it happens when one of the columns contains a "null" value (the column does not have to be filterable for this to happen!). And when it happens, you get an entry in the 'ui_bookmark' table that contains the user_id of the user that tried to filter and a namespace of the module and a config containing something like "this_is_a_column":{"visible":true,"sorting":false} for each column and if a column contains a null value this entry produces this error. In my case it was sufficient to avoid all null entries (even in not filterable columns!) but with the product grid this cannot be avoided, especially if the Magento store contains migrated data :-( |
I am facing the same issue. How did you solve it? |
facing same issue |
@sugaryusuf @parween-talat There are several things you can do depending on the situation. Open up the adminhtml developer tools (for instance in Chrome or Firefox) and look for the GET that goes wrong, it will be something like GET https......admin..../mui/index/renderer... and open the Json Response Payload: It will point you in the right direction. If it is a custom module (as in my case) have a look at the Vendor\YourModule\Ui\Component\Grid\Column\YourSpecificColumn.php and the function prepareDataSource. If it contains something
then replace it with a try catch and fill the catch with something like $item[$name] = $item['imei_id'].' not found '; (so no null value). Also in your grid you can add the sortable fals like mentioned above. For example:
Don't forget to remove the user id from the ui_bookmark table (in below example user has userID 22):
|
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: