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
This issue is connected to issue #10645 please see the collection setup there, I will use the collections from that issue to demonstrate the next very dangerous bug:
If you add a new key to a keychain but use a name that already exists in the keys collection you will essentially STEAL this key from the keychain it was previously attached to. This can result in field checks breaking if e. g. the field was configured to be required!
To Reproduce
Create a new keychain in the keychains collection.
Preflight Checklist
Describe the Bug
This issue is connected to issue #10645 please see the collection setup there, I will use the collections from that issue to demonstrate the next very dangerous bug:
If you add a new
key
to akeychain
but use a name that already exists in thekeys
collection you will essentially STEAL thiskey
from thekeychain
it was previously attached to. This can result in field checks breaking if e. g. the field was configured to berequired
!To Reproduce
keychain
in thekeychains
collection.key
that already exists.key
from the otherkeychain
.Video showing the issue (I also reconfigure the field here to be
required
to show field checks breaking):2021-12-23_01-21-39.mp4
Errors Shown
N/A
What version of Directus are you using?
9.3.0
What version of Node.js are you using?
16.13.1
What database are you using?
MariaDB 10.3.32
What browser are you using?
Firefox Latest
What operating system are you using?
Windows 10
How are you deploying Directus?
Ubuntu Server 20.04, npm installation with a systemd service running it
The text was updated successfully, but these errors were encountered: