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
I have a Collection "Pages" with a M2A-Field called "Content". When I created the M2A-Field I added two related Collections ("Headline" and "Text"). When I save the Page (in "Pages") everything works fine. But when I add a 3rd Related Collection ("image") to the M2A and add the new Content-Item "Image" to a page I get following error:
My M2A Relations:
I already found out that the Primary Key was not set, when adding the "Image"-Block
To Reproduce
Create a Collection with a M2A.
Add two item (Related Collections) to the M2A.
After initial saving of the M2A add more Related Collections to the M2A.
After that you cannot save the Collection with the M2A when an item was added that was later added.
Errors Shown
{ "message": "\"pages_content.item\" can't be linked to collection \"image", "extensions": { "code": "INVALID_PAYLOAD" } }
What version of Directus are you using?
9.0.0
What version of Node.js are you using?
v14.18.1
What database are you using?
SQLite 3.36.0
What browser are you using?
Brave (Chrome), Safari
What operating system are you using?
macOS
How are you deploying Directus?
running locally, Docker
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
I have a Collection "Pages" with a M2A-Field called "Content". When I created the M2A-Field I added two related Collections ("Headline" and "Text"). When I save the Page (in "Pages") everything works fine. But when I add a 3rd Related Collection ("image") to the M2A and add the new Content-Item "Image" to a page I get following error:
My M2A Relations:
![Bildschirmfoto 2021-11-11 um 12 24 20](https://user-images.githubusercontent.com/58185127/141290214-22fcc765-9d5b-44a1-b975-93167b8c1782.png)
I already found out that the Primary Key was not set, when adding the "Image"-Block
To Reproduce
Create a Collection with a M2A.
Add two item (Related Collections) to the M2A.
After initial saving of the M2A add more Related Collections to the M2A.
After that you cannot save the Collection with the M2A when an item was added that was later added.
Errors Shown
{ "message": "\"pages_content.item\" can't be linked to collection \"image", "extensions": { "code": "INVALID_PAYLOAD" } }
What version of Directus are you using?
9.0.0
What version of Node.js are you using?
v14.18.1
What database are you using?
SQLite 3.36.0
What browser are you using?
Brave (Chrome), Safari
What operating system are you using?
macOS
How are you deploying Directus?
running locally, Docker
The text was updated successfully, but these errors were encountered: