6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12930] AS: Endless loop with Windows Phone 7.8
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.__.. . ..__. >< | || |\/|| | / \|__\|___| ||__|
Comment
>>>> Not sure about the infinite loop, but if helps you, it's dying >>>> because the MAXITEMS node is not expected. You can see this in >>>> Horde_ActiveSYnc_Request_Sync:: line 1142 where there is a TODO to >>>> remind me to implement it when we implement the RI cache. >>> >>> ...and that is EXACTLY why it loops. There is no escape from the >>> while() loop in that case. >> >> Thanks for the analysis! >> >> May be we should add a sanity limit of 5.000+ "sync options" the next >> time an AS client sends us an unexpected tag ;) Just log it, bail out >> of the loop and continue. > > Either that or bail out if nothing was successfully parsed by the > bottom of the loop. Something should be parsed through each iteration. > > >> The user mentioned something about a recent OTA Android update for >> her phone. I have to ask for the specific model again. May be that >> update "enabled" the RI collection. > > If that's the case, I might as well go ahead and implement the RI > functionality now since I'll have to implement at least part of it > anyway. If the device is erroneously asking for the RI collection, it > is probably also expecting a return value for it as well. Just > ignoring the MAXITEMS is likely to cause problems on the client side.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers