Repository navigation
fix: Pass the all-day flag of an event to the conferencing provider EXO-90984 - #417
Conversation
…XO-90984 The space event call context carries allDay, read from the call info of addCall and from createSpaceEventContext, so that a provider can schedule the conference of an all-day event as all-day.
Self-review close-out — EXO-90984 (web-conferencing @ 808101d)The review loop covered the whole delivery: this PR, exo-addons/pexip#2 and exoplatform/agenda#1209. It ran 4 rounds, independent reviewers each time. The closing round was clean. No finding on this PR. Verified conform
Tests
This change is classified N2 (computed at 808101d) — its approver must be an Archi/Dev who knows it is N2, not an approval on AI review alone. |
|
ahamdi
left a comment
There was a problem hiding this comment.
AI review — Round #1 (final)
Reviewed at 808101dd, the whole diff (webapp/src/main/webapp/js/webconferencing.js). No findings.
Verified conform
spaceEventContextandcreateSpaceEventContextare the only definitions, andaddCall'sspace_eventbranch is the only internal caller. All of them pass the new trailingallDay, so existing external callers ofcreateSpaceEventContextkeep their behaviour (allDay: false).!!allDaymakes the context field a strict boolean, asVisioMerge.jsalready does for the drawer. agenda#1209'sgetConferenceSchedulehandsaddCall/updateCalla booleanallDaytoo.- The body's claim about
updateCallholds:updateCallcallsprovider.updateCall(id, stateInfo)with the call info unchanged, soallDayalready reached the provider on update. - Server side:
processAddCallalready sent the wholecallInfothroughcometdParams.CometdWebConferencingService'screateandupdatebranches read named keys only (owner,ownerType,provider,title,participants,spaces,start,startDate,endDate…), so they ignoreallDay. There is no server or schema change. - The ledger pitfall core provider lookups never settle without the provider script does not apply. The PR adds no new caller of
getProvider,findCallIdor the id-lessaddCall, it only changes the context the existing id-less path builds. Knowledge: Meeds-io/eng-standards#334is open and a draft, as it should be while the code is not ondevelop. It carries this delivery's pitfalls (agenda and pexip ledger files plus the change fragment).
The change is small and backward compatible. The trailing optional argument extends the provider-facing context without touching any existing call site's meaning. The body states exactly where the flag was lost and why the update path did not need fixing.
Nothing outstanding from the AI review side.
This change is classified N2 (it extends the shared webConferencing context contract that the provider connectors consume, and touches no REST/DAO/schema/ACL surface). Its approver must be an Architect or Developer who knows it is N2. It must not be auto-merged on AI review alone.
🤖 Generated with Claude Code



Symptom: a conferencing provider cannot schedule the conference of an all-day agenda event as all-day: the space event call context it receives on creation carries the dates and the recurrence, not the all-day flag.
Cause:
spaceEventContextinwebconferencing.jsbuilds a fixed context from its arguments, andaddCallpasses itcallInfo.startDate,endDateandrecurrenceonly, so anallDayin the call info is dropped.updateCallalready hands the provider the call info as is.Fix:
spaceEventContextandcreateSpaceEventContexttake a trailingallDayargument and setallDayon the context.addCallpassescallInfo.allDay. The trailing argument keeps existing callers working, and the CometD create/update handlers read named keys only, so the extra field is ignored server side.Goes with exo-addons/pexip and exoplatform/agenda PRs of EXO-90984.
Knowledge: Meeds-io/eng-standards#334
This change is classified N2 (computed at 808101d) — its approver must be an Archi/Dev who knows it is N2, not an approval on AI review alone.