[horde] long subject in ActiveSync notes fails

Jan Schneider jan at horde.org
Thu Jul 2 12:56:09 UTC 2015


Zitat von Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>:

> Hi,
>
> 2015-07-02T14:16:48+02:00 INFO: [15170]  
> Horde_Core_ActiveSync_Driver::changeMessage(@Notes@,  ...)
> 2015-07-02T14:16:48+02:00 ERR: SQLSTATE[22001]: String data, right  
> truncated: 7 ERROR:  value too long for type character varying(64)
> 2015-07-02T14:16:48+02:00 ERR: [15170] Change message failed when updating
>
> The message, that fails silently to sync to Horde, comes from  
> Task&Notes of an Android device. The subject of the note is pretty  
> long, far longer than the 64 chars.
>
> Should Task & Notes limit the subject to 64 characters or should
>
> memo_desc    | character varying(64)
>
> be increased?

A length of 255 char would make much more sense. We still need to  
catch titles that exceed that though.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list