Skip to content

fix(activesync): harden error handler against missing collection data#16

Merged
ralflang merged 1 commit into
FRAMEWORK_6_0from
fix/bulletproof-error-handler
Mar 21, 2026
Merged

fix(activesync): harden error handler against missing collection data#16
ralflang merged 1 commit into
FRAMEWORK_6_0from
fix/bulletproof-error-handler

Conversation

@ralflang
Copy link
Copy Markdown
Member

@ralflang ralflang commented Mar 21, 2026

Make the error handler bullet proof against missing details.

This fixes a user-reported 'Undefined array key' errors when _handleError() is called with incomplete collection arrays during early protocol parsing failures.

I am going to merge this one myself but I have a few other ones which I want reviewed properly.

Make the error handler bullet proof against missing details.

This fixes a user-reported 'Undefined array key' errors when _handleError() is called with incomplete collection arrays during early protocol parsing failures.
@ralflang ralflang requested review from TDannhauer and amulet1 March 21, 2026 13:40
@ralflang ralflang merged commit 07454f8 into FRAMEWORK_6_0 Mar 21, 2026
0 of 8 checks passed
@amulet1
Copy link
Copy Markdown
Member

amulet1 commented Mar 22, 2026

This is probably okay, but there are two things I would like to better understand - why synckey checked against '0' (just need to look where it is coming from), and why we set class to 'Email' if it is not set?

It is hard to trigger those errors, as they probably happen only with broken clients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants