I am using the new assignment model.
What I am trying to achieve is assinging resources to events at runtime.
For that I am calling the EventStores own
schedule.eventStore.assignEventToResource(event,resource)
And then I see visually in my scheduler, that resources do have this event assigned.
But somehow, when I call
schedule.eventStore.getAssignmentsForEvent(event)
In conclusion:
At initialization time I do have events which return an array of assignments when I call the above mentioned function.
At runtime when I assign events to resources, these events do not have an array of assignments at all, despite being displayed correctly in my scheduler... I am a bit confused, in what I do wrong.