-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Join Field: Incorrect Parent Relationship Assignment When Adding a New Document #8388
Comments
Hey @tobiasiv, I was able to reproduce your issue. However, in order to reproduce this issue, you have to disable the In the process of reproducing your issue I stumbled upon two other issues that seem related to the creation of documents from the "Join" type Drawer component.
I'm attaching two videos to show these issues in practice. chrome_2024-09-26_15-48-38.mp4The above video shows a reproduction of this issue, as well as the issue mentioned in (1). chrome_2024-09-26_15-52-05.mp4This second video shows (2), and requires you have autosave enabled. In the video, I have an autosave interval of 100. No errors were generated. |
Hey @DanRibbens - It seems this issue might have been missed. Could you please take a look? I’d really appreciate it! |
Hey @tobiasiv this was fixed in #9381 and has been released as of v3.0.2. Let me know if you're still experiencing issues after upgrading. And thank you @akhrarovsaid for confirming this in such detail.
This was likely fixed in #9364. Join fields with autosave-enabled collections were broken in a few ways. This likely also fixes the issue you've described about conditional fields but I'd need you to report back on that one. Feel free to open new ticket(s) for that if needed. |
This issue has been automatically locked. |
Link to reproduction
No response
Environment Info
Describe the Bug
I'm working with Postgres and using numeric IDs. When adding a new entry to a join-field-table, the parent relationship should be automatically set for the new entry. However, the parent is not being set correctly. When I attempt to save the newly created record, I get the following error: "This relationship field has the following invalid relationships: 1 0."
This issue might be related to the ID type, I've experienced a similar error in the past.
Reproduction Steps
pages
collectionusers
collectionAdapters and Plugins
No response
The text was updated successfully, but these errors were encountered: