[Tickets #13338] Re: Activesync: Column 'sync_key' cannot be null

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Jul 12 15:45:46 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13338
------------------------------------------------------------------------------
  Ticket             | 13338
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Activesync: Column 'sync_key' cannot be null
  Queue              | Synchronization
  Version            | FRAMEWORK_5_2
  Type               | Bug
-State              | Feedback
+State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2014-07-12 15:45) wrote:

>> How about now?
>
> It still doesn't work.

But the fatal database error is gone, and that is the only thing Horde  
can control. The client is sending a command to rename a folder, but  
it's using an old synckey that the server knows nothing about. In  
return, the server is sending back an appropriate error code (9) that  
tells the client the synckey is bad and it should reset it's internal  
state.

If the client ignores this advice, there is nothing Horde can do about it.


> I reset the state in Horde and re-saved the settings on the device.
>
> I can see the device getting provisioned with an error I see with  
> all accounts but which doesn't seem to stop things
> 2014-07-12T12:00:41+02:00 DEBUG: [2615] I  <Settings:Settings>
> 2014-07-12T12:00:41+02:00 DEBUG: [2615] I    
> <Settings:RightsManagementInformation>
> 2014-07-12T12:00:41+02:00 ERR: [2615] Unmatched end tag:
> 2014-07-12T12:00:41+02:00 ERR: Array
> (
>     [1] => 1
>     [2] => Settings:RightsManagementInformation
>     [4] => 1
> )
>
> 2014-07-12T12:00:41+02:00 DEBUG: [2615] O  <Settings:Settings>
> 2014-07-12T12:00:41+02:00 DEBUG: [2615] O   <Settings:Status>
> 2014-07-12T12:00:41+02:00 DEBUG: [2615] O    1
> 2014-07-12T12:00:41+02:00 DEBUG: [2615] O   </Settings:Status>
> 2014-07-12T12:00:41+02:00 DEBUG: [2615] O  </Settings:Settings>
>
> After that the same items are logged as before, except the saving part
>  INFO: [BB1234ABCD] Handling
> FOLDER[CREATE|DELETE|CHANGE] command.
>  DEBUG: [56058] I  <FolderHierarchy:FolderUpdate>
>  DEBUG: [56058] I   <FolderHierarchy:SyncKey>
>  DEBUG: [56058] I
> {53944bbf-adf4-4bd1-b3ca-24b2904cae96}3
>  DEBUG: [56058] I   </FolderHierarchy:SyncKey>
>  DEBUG: [56058] I   <FolderHierarchy:ServerEntryId>
>  DEBUG: [56058] I     Ncf4f9a88
>  DEBUG: [56058] I   </FolderHierarchy:ServerEntryId>
>  DEBUG: [56058] I   <FolderHierarchy:ParentId>
>  DEBUG: [56058] I     0
>  DEBUG: [56058] I   </FolderHierarchy:ParentId>
>  DEBUG: [56058] I   <FolderHierarchy:DisplayName>
>  DEBUG: [56058] I     Notepad of user at domain.tld
>  DEBUG: [56058] I   </FolderHierarchy:DisplayName>
>  DEBUG: [56058] I  </FolderHierarchy:FolderUpdate>
>  INFO: [56058] Loading state for synckey
> {53944bbf-adf4-4bd1-b3ca-24b2904cae96}3
>  ERR: [56058] Could not find state for
> synckey {53944bbf-adf4-4bd1-b3ca-24b2904cae96}3.
>  DEBUG: [56058] O  <FolderHierarchy:FolderUpdate>
>  DEBUG: [56058] O   <FolderHierarchy:Status>
>  DEBUG: [56058] O    9
>  DEBUG: [56058] O   </FolderHierarchy:Status>
>  DEBUG: [56058] O  </FolderHierarchy:FolderUpdate>
>
> Sync keys are never created in the database
> The device stops asking for any data
>
>
>
>






More information about the bugs mailing list