[dev] ActiveSync Nokia E90: Another Problem found...

Lukas Gradl horde at ssn.at
Mon Jun 21 16:52:14 UTC 2010


On 2010-06-21 18:12, Lukas Gradl wrote:
> Hi!
>
> Still trying to sync kronolith via activesync to a Nokia MailForExchange
> 3.0 E90.
>
> After no success on syncing from Horde to the device I tried it the
> other way round.
>
> In the Wireshark-Trace I discovered, that when the sync stops I have a
> malformed wbxml-part in the trace.
>
> The Problem is, that I have php-warning in the WBXML-Stream!
>
> The Message says:
>
> Warning: function str_repeat() Second argument has to be greater to or
> equal to 0 in content/lib/Objects/Manager.php on line 68.
>
> I couldn't figure out what causes that warning (it happend after
> approximatly 500 out of 3000 appointments...) so far - but I keep on
> searching.

Little addition:

For a fast try I added the following lines as a start of the function 
which produces this error:

if (count($objects)==0) {
   return false;
}

I don't know anything about the side-effects and didn't look for the 
meaning of that function at all - so consider this as just a quick hack 
to do further debugging of active sync.

And with this hack the sync completed successfully - 3000 entries synced...

After a quick look most of the appointments seem to be correct. Just 
some reoccurring events seem to have a problem: the "Recur until" date 
is interpreted wrong.

regards
Lukas



-- 

----------------------------
software security networks
Lukas Gradl <horde#ssn.at>
Eduard-Bodem-Gasse 5
A - 6020 Innsbruck
Tel: +43-512-214040-0
Fax: +43-512-214040-21
----------------------------


More information about the dev mailing list