You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behaviour:
If any poll is running and you navigate to the autopilot, then the following Errors (or similar ones) are thrown in the console:
data-store.service.ts:314 ERROR
TypeError: Cannot read properties of undefined (reading 'includes')
at AssignmentPollVoteComponent.defineVoteOptions (base-poll-vote.component.ts:489:42)
at AssignmentPollVoteComponent.ngOnInit (base-poll-vote.component.ts:176:14)
at callHookInternal (core.mjs:4024:14)
at callHook (core.mjs:4051:13)
at callHooks (core.mjs:4006:17)
at executeInitAndCheckHooks (core.mjs:3956:9)
at refreshView (core.mjs:13513:21)
at detectChangesInView (core.mjs:13663:9)
[...]
and other example:
TypeError: Cannot read properties of undefined (reading 'length')
at AssignmentPollVoteComponent_ng_template_1_ng_container_1_ng_container_1_div_3_div_2_b_2_Template (base-poll-vote.component.html:67:29)
at executeTemplate (core.mjs:12003:13)
at refreshView (core.mjs:13498:13)
at detectChangesInView (core.mjs:13663:9)
at detectChangesInEmbeddedViews (core.mjs:13606:13)
at refreshView (core.mjs:13522:9)
at detectChangesInView (core.mjs:13663:9)
at detectChangesInEmbeddedViews (core.mjs:13606:13)
at refreshView (core.mjs:13522:9)
[...]
Reproduction:
create any poll (assignment, topic or motion)
start the poll
navigate to the autopilot
open the console
reload page
Errors are thrown
Wanted behaviour:
the Errors in the console should be prevented
The text was updated successfully, but these errors were encountered:
Current behaviour:
If any poll is running and you navigate to the autopilot, then the following Errors (or similar ones) are thrown in the console:
and other example:
Reproduction:
Wanted behaviour:
the Errors in the console should be prevented
The text was updated successfully, but these errors were encountered: