6.0.0-alpha14
7/2/25

[#10856] [ActiveSync] Error syncing Exceptions/wrong tag
Summary [ActiveSync] Error syncing Exceptions/wrong tag
Queue Synchronization
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester joniw (at) t-online (dot) de
Created 12/12/2011 (4951 days ago)
Due
Updated 12/15/2011 (4948 days ago)
Assigned 12/15/2011 (4948 days ago)
Resolved 12/15/2011 (4948 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/15/2011 07:42:33 PM Michael Rubinsky Comment #9
State ⇒ Not A Bug
Reply to this comment
Closing as "Not a Bug", though I did make some optimizations and added 
some more unit tests based while trying to debug the report - so not a 
total wash ;)
12/15/2011 07:27:00 PM joniw (at) t-online (dot) de Comment #8 Reply to this comment
Also, since both I, and others, have exceptions working on multiple 
android devices - this leads me to believe the missing exceptions 
are due to something else.
It seems that you are right. After i cleaned the device completely and 
also my database now the exceptions are transmitted. I already did a 
cleanup of the device but it did not work.

So for me it looks like we can close this bug, thanks for looking after it.

With regards

Jonathan Westerholt
12/15/2011 07:16:25 PM Michael Rubinsky Comment #7 Reply to this comment
Also, since both I, and others, have exceptions working on multiple 
android devices - this leads me to believe the missing exceptions are 
due to something else.
12/15/2011 07:15:05 PM Michael Rubinsky Comment #6
State ⇒ Feedback
Reply to this comment
In line 778 there is the implementation of the exception parsing 
(just add #778 to the above link).
Unless I'm totally missing something here, it's only ignoring the tag 
(BodyTruncated) that it doesn't recognize. It would still continue to 
parse the remaining properties of the exception.  Where do you see 
that the exception itself is ignored?

Regardless, thanks for pointing out the code for this, there is some 
really helpful information there.
12/15/2011 05:37:55 PM joniw (at) t-online (dot) de Comment #5 Reply to this comment
Do you see a list of supported properties in the adapter source code 
that you could share, or perhaps a link?
I had a look at

http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/2.3.5_r1/com/android/exchange/adapter/CalendarSyncAdapter.java

In line 778 there is the implementation of the exception parsing (just 
add #778 to the above link).

The complete parsing starts at addEvent() in line 384.

with regards

Jonathan Westerholt

12/15/2011 04:00:18 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git for this ticket:

Bug: 10856  Exceptions only support a subset of Appointment's properties.

  1 files changed, 33 insertions(+), 22 deletions(-)
http://git.horde.org/horde-git/-/commit/d7844393b34c26d3b80402d1815b87411a0ee26d
12/15/2011 03:36:26 PM Michael Rubinsky Comment #3 Reply to this comment
Do you see a list of supported properties in the adapter source code 
that you could share, or perhaps a link?

12/15/2011 03:35:20 PM Michael Rubinsky Comment #2 Reply to this comment
It's my understanding that exceptions support the same properties that 
appointments do (except those that make absolutely no sense, like 
"EXCEPTION"), since that's what they essentially are.

That being said, this wouldn't be the first time the documentation is 
unclear, and we never use the bodytruncated property on outgoing 
messages anyway, so should be OK to remove it from Exception messages.
12/12/2011 08:07:03 PM Jan Schneider Assigned to Michael Rubinsky
State ⇒ Assigned
 
12/12/2011 05:34:24 PM joniw (at) t-online (dot) de Comment #1
State ⇒ Unconfirmed
New Attachment: BodyTruncatedException.txt Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ [ActiveSync] Error syncing Exceptions/wrong tag
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
When syncing my Desire HD (Android 2.3.5) exceptions are not synced to 
the device.

When looking into the log i see that the "BodyTruncated" Tag is sent 
with the exception (see attached log, it is only one add entry).

After digging into the source code of the android sync adapter it 
looks like android is throwing away the event if an unknown tag is sent.

Saved Queries