[dev] Bug11902
Michael J Rubinsky
mrubinsk at horde.org
Mon Dec 31 16:38:18 UTC 2012
Also, please use the bug tracker for further discussion. It's
difficult to keep all my current bugs/discussions straight.
Quoting Johny Ågotnes <johny at agotnes.com>:
> Mike,
>
> Logs below, I also checked the mailmap table and no new entries were
> created in there (unless purged *really* quickly). I also deleted a
> few messages before I started and cleared the log, but it looks like
> they're still being processed early on in the log after I cleared
> it...
>
> Two messages incoming, Test 3 and Test 4 from gmail.com, I read Test
> 3 using a different device via IMAP and it is still logged as a
> device initiated read from what I can see in the log. I believe the
> log statement I added is in there too as:
>
> ----
> , flags
> ----
>
> The code ended up here (just for your verification);
> ----
> } catch (Horde_Db_Exception $e) {
> throw new Horde_ActiveSync_Exception($e);
> }
> $this->_logger->debug($mflag);
>
> if ($mflag === false) {
> ----
>
> The mailmap table didn't change - I ran a number of selects against
> it - no change.
>
> mysql> SELECT * FROM horde_activesync_mailmap;
> +-------------+------------------------------------------+------------------+---------------+-----------+-----------+--------------+--------------+
> | message_uid | sync_key |
> sync_devid | sync_folderid | sync_user | sync_read |
> sync_deleted | sync_flagged |
> +-------------+------------------------------------------+------------------+---------------+-----------+-----------+--------------+--------------+
> | 49099 | {50a0cc5e-adac-4ece-82f5-6f18d5a6aaa5}55 |
> ApplDR5HPCT7DKNV | INBOX | johny | 1 |
> NULL | NULL |
> | 49136 | {50a22b99-d8d8-435f-a65a-4531d5a6aaa5}19 |
> ApplDR5HPCT7DKNV | INBOX | johny | 1 |
> NULL | NULL |
> | 5124 | {50d84572-310c-4dff-8678-57a7d5a6aaa5}12 |
> ApplC36JDFXHDTWD | Horde | johny | 1 |
> NULL | NULL |
> +-------------+------------------------------------------+------------------+---------------+-----------+-----------+--------------+--------------+
> 3 rows in set (0.00 sec)
>
> And the full log attached.
>
> Let me know where to, this is well too deep in code I don't know for
> me to help much beyond following your lead :)
>
> Cheers,
>
> :)J
>
>
> Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>
>> Quoting Johny Ågotnes <johny at agotnes.com>:
>>
>>> Schema was upgraded with .12 or .13 I think, I got prompted and
>>> did the upgrade then...
>>>
>>> Hopefully the below is readable, let me know if not ;) are the two
>>> entries to blame? They match the device ID for the iPad in
>>> question...
>>
>> No, none of the message_uid values match the message that was in
>> the log. Of course, it might have been garbage collected since
>> then, so it wouldn't be in there anyway. The bottom line is that
>> for some reason, the code in
>> Horde_ActiveSync_State_Sql::_isPIMChangeQuery() is reporting
>> thMikeat it IS a client originated change. That's where you should
>> look next to see what is going on.
>>
>> In the file ActiveSync/State/Sql.php line 1369 add:
>>
>> $this->_logger->debug($mflag);
>>
>> and rerun the previous steps with logging.
>>
>> --
>> mike
>>
>> The Horde Project (www.horde.org)
>> mrubinsk at horde.org
>
>
> :)Johny Ågotnes
> johny at agotnes.com
> M: +61 413 580 786
> http://www.linkedin.com/in/johnyagotnes
--
mike
The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6062 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/dev/attachments/20121231/f29ec65e/attachment.bin>
More information about the dev
mailing list