#[SOLVED] Getting empty array back for a one to many relationship

7 messages · Page 1 of 1 (latest)

rain granite
#

Hello I have an Events Collection and an EventDiscussion collection where I have set up a one to many relationship where an Event can have many discussions. In the console I added an event discussion document to an event but when I query the event I see that the event discussion relationship has an empty array when clearly the console has a document attached. Is this a bug or should i be doing anything different. Seems pretty straight forward. Thanks!

rain granite
#

Also I am using 1.3.3

#

and I used the migration tool

fair solar
rain granite
#

ahhhhhhhh. didn't set permissions on the discussions collection. Let me check that. 😆

#

That was the issue. Sorry sometimes I'm just hurrying and don't look for the obvious.