-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Duplicate keys warning generated when redirecting to List after saving in Edit form #1880
Comments
Can't reproduce it in the example app. Can you fork this CodeSandbox and tweak it until you manage to reproduce your issue? |
i just tried to do that, but there isnt any warnings. It seems our react-admin versions a bit different. The warning itself generated in react-dom: Seems we shouldnt get in this place at all. |
OK, I'm closing the issue then. Feel free to reopen if you manage to reproduce the bug. |
I have this same issue, is there any solution for this |
@fzaninotto c'est toujours un bug en 2023!!!! is always happening cmon here is a screenshot |
@ucefkh If you want us to investigate then provide a codesandbox showing the issue. |
When i save Edit form its all going ok untill redirect back in List of items. Redirect itself succeeds successfully, but in console there is warning generated. It seems App thinks that there Create operation was just performed, not Edit.
Despite that warning, edited record is successfully updated in the List.
Here my dataProvider response data extraction code:
Here my Application class code:
This is Edit form code:
And the List:
The text was updated successfully, but these errors were encountered: