Skip to content

Remove assignment of an event from a resource and trying to retrieve the event returns undefined #9667

@marciogurka

Description

@marciogurka

Forum post

  • Go to this demo
  • Run the following snippet in the console
s = bryntum.query('schedulerpro');
eventId = s.eventStore.first.id;
console.log(s.eventStore.records.length);
s.eventStore.unassignEventFromResource(s.eventStore.first, s.resourceStore.getById(2))
console.log(s.eventStore.records.length);
console.log(s.eventStore.getById(eventId));

Expected: The event model which is still available in the eventStore, but with no assignment to it.
Current: Receive undefined, even with the eventStore having the same number of records.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OEMOEM customerbugSomething isn't workingforumIssues from forumlarge-accountReported by large customerpremium

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions