Skip to content
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

ReactAdmin 5 update, edit does not work #176

Closed
COil opened this issue Nov 21, 2024 · 3 comments
Closed

ReactAdmin 5 update, edit does not work #176

COil opened this issue Nov 21, 2024 · 3 comments

Comments

@COil
Copy link

COil commented Nov 21, 2024

Hi,

We updated to ReactAdmin 5, and we noticed that a an edit form stopped to work.
We have added logs and In this case the provider is not called.

When in create mode, everything is OK and we have the following logs:

17:04:55,462 Form data submitted: 
                      Object { title: "sds",... }
                      [index.ts:39:14](http://localhost:5173/src/lib/ra-data-providers/postgrest-provider/index.ts)
17:04:55,502 DataProvider method called: create
17:04:56,702 Save successful [FormLayout.tsx:27:28](http://localhost:5173/src/components/layouts/FormLayout.tsx)
17:04:56,849 DataProvider method called: getOne

When in edit mode, we don't have the provider logs. Any hints to debug this?
Of course, if we revert before ReactAdmin 5, it works properly.

Thanks. COil.

@COil
Copy link
Author

COil commented Nov 27, 2024

@scheiblr
Copy link
Collaborator

Hey @COil, thank you very much for raising this issue. After looking at it, I am not sure if it is an issue of the provider or ReactAdmin 5 itself. Could you please help me to understand that?

@COil
Copy link
Author

COil commented Jan 10, 2025

Hello, the problem does not come from the provider. :)
More detail in this issue, see marmelab/react-admin#10388

@COil COil closed this as completed Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants