6.0.0-beta13
4/10/26

[#9168] DB Error when doing ActiveSync sync
Summary DB Error when doing ActiveSync sync
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester slusarz (at) horde (dot) org
Created 8/10/10 (5722 days ago)
Due
Updated 8/11/10 (5721 days ago)
Assigned 8/10/10 (5722 days ago)
Resolved 8/11/10 (5721 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11.08.2010 00:02:05 Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
Don't have my activesync devices available at the moment to test, but 
this should be fixed now.
10.08.2010 22:51:23 Michael Rubinsky Assigned to Michael Rubinsky
 
10.08.2010 22:51:03 Michael Rubinsky Queue ⇒ Horde Framework Packages
State ⇒ Assigned
Version ⇒ Git master
 
10.08.2010 20:12:56 Michael Slusarz Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ DB Error when doing ActiveSync sync
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Seeing this:

2010-08-10T14:08:54-06:00 DEBUG: HORDE [horde] SQL QUERY FAILED: 
SQLSTATE[23502]: Not null violation: 7 ERROR:  null value in column 
"sync_user" violates not-null constraint
         INSERT INTO horde_activesync_map (message_uid, sync_modtime, sync_key,
           sync_devid, sync_folderid) VALUES
           ('20090625180456.190336qq0eefomug@bigworm.curecanti.org', 
1281470934,
           '{232b6f88-93a4-40f4-8f85-a427b24674f8}61', 'androidc544188419',
           'Contacts') [pid 31162 on line 749 of 
"/disk2/src/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"]
2010-08-10T14:08:54-06:00 DEBUG: HORDE [horde] SQL
         INSERT INTO horde_activesync_map (message_uid, sync_modtime, sync_key,
           sync_devid, sync_folderid) VALUES
           ('20090625180456.190336qq0eefomug@bigworm.curecanti.org', 
1281470934,
           '{232b6f88-93a4-40f4-8f85-a427b24674f8}61', 'androidc544188419',
           'Contacts') [pid 31162 on line 749 of 
"/disk2/src/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"]
2010-08-10T14:08:54-06:00 ERR: HORDE [horde] SQLSTATE[23502]: Not null 
violation: 7 ERROR:  null value in column "sync_user" violates 
not-null constraint [pid 31162 on line 256 of 
"/disk2/src/horde/framework/ActiveSync/lib/Horde/ActiveSync/State/History.php"]

Looking at line 256, I don't see a reference to sync_user, but it 
looks like it is defined as a NOT NULL column in the table definition.

Saved Queries