Replies: 4 comments
🟡 Sonarly Analysis — Medium SeverityCalendarEvent visibility hook hides manually created events REST Root Cause
Evidence:
Why it failed now (triggering cause):
So the proximate cause is the post-query visibility filter deleting orphan events from result sets; the triggering cause is manual REST creation of calendar events without the association lifecycle that import jobs provide. Blame commit: Suggested FixI first checked recent history on the affected files ( I then fixed the issue in the visibility restriction service by treating unassociated calendar events as visible instead of filtering them out:
To prevent regression, I added a unit test in the existing spec:
Analyzed by Sonarly · View full analysis |
|
i want to work on this issue |
|
brother i am allready working on this issue |
|
Ok thanks for clearification |
Uh oh!
There was an error while loading. Please reload this page.
Bug Description
When creating a calendarEvent with the REST API, I get a 201 created back, alongside a the new object.
I can also query that object by ID (find one calendar event), but if I search for it either by API or on the
/objects/calendarEventspage, it doesn't show up.Expected behavior
Feature request
I'll write a separate feature request later, on having "create calendar event" as a core capability, both as a logic function in workflows, as well as available in the SDK. This would likely be a "blind" create capability, awaiting the calendar platform to accept the change, and then propagate it with the standard polling

All reactions