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
There's no other issue that already describes my problem.
Describe the Bug
If a collection has several O2M fields, adding a field to that collection and then deleting it nullifies all its relations. I would have expected the field to simply be removed without affecting the item's relations.
Been using Directus for a few days only, I might have missed something. If that's the case then I'm sorry :)
To Reproduce
Create two collections named parents and children
Give them both a name field
Add a children O2M field to parents
In the Content section, add a new item to parents and add two children to it
Now go back to the data model section and add an address field to the parent collection
Validate the changes and check your Content section : you should still see children listed under parents
Go back to the data model section, and delete the address field from parents
The Content section now shows no children in the parent item
See a repro capture here
directus_scaled.mp4
Errors Shown
Nope
What version of Directus are you using?
9.0.1
What version of Node.js are you using?
16.13.0
What database are you using?
SQLite 3.34.1
What browser are you using?
Firefox
What operating system are you using?
W10
How are you deploying Directus?
Locally
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
If a collection has several O2M fields, adding a field to that collection and then deleting it nullifies all its relations. I would have expected the field to simply be removed without affecting the item's relations.
Been using Directus for a few days only, I might have missed something. If that's the case then I'm sorry :)
To Reproduce
parents
andchildren
name
fieldparents
parents
and add twochildren
to itaddress
field to theparent
collectionaddress
field fromparents
parent
itemSee a repro capture here
directus_scaled.mp4
Errors Shown
Nope
What version of Directus are you using?
9.0.1
What version of Node.js are you using?
16.13.0
What database are you using?
SQLite 3.34.1
What browser are you using?
Firefox
What operating system are you using?
W10
How are you deploying Directus?
Locally
The text was updated successfully, but these errors were encountered: