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
What you were expecting:
When getting a 401, useGetManyAggregate should not throw errors
What happened instead:
useGetManyAggregate throws "filter is not a function" when getting 401
Steps to reproduce:
Log to a react-admin application where you use useGetManyAggregate ; delete your auth cookie manually and see all the errors in the console
Related code:
This is due to useDataProvider that does not return the correct type of data on logout (l.112 of useDataProvider.ts)
What you were expecting:
When getting a 401, useGetManyAggregate should not throw errors
What happened instead:
useGetManyAggregate throws "filter is not a function" when getting 401
Steps to reproduce:
Log to a react-admin application where you use useGetManyAggregate ; delete your auth cookie manually and see all the errors in the console
Related code:
This is due to useDataProvider that does not return the correct type of data on logout (l.112 of useDataProvider.ts)
Other information:
PR #8131
Environment
The text was updated successfully, but these errors were encountered: