6.0.0-RC7
6/27/26

[#5646] Problem with MySQL and many filter rules
Summary Problem with MySQL and many filter rules
Queue Ingo
Queue Version 1.1.3
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester burghardt (at) riege (dot) com
Created 8/20/07 (6886 days ago)
Due
Updated 8/22/07 (6884 days ago)
Assigned
Resolved 8/22/07 (6884 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
411 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Not only is there a SQL storage driver in the 1.2 version of Ingo, but 
in Horde 3.2, any change to a preference that would overflow the 
maxsize configuration parameter is rejected to preserve the existing 
data.
4111 burghardt (at) riege (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Problem with MySQL and many filter rules
Queue ⇒ Ingo
Reply to this comment
Hello,



using the current stable release of Horde and Ingo in conjunction with 
Cyrus IMAPD 2.2.12 (+Sieve) and MySQL 4.1.20, we discovered the 
following problem:



* a user had a lot of rules

* he added one rule and the rule overview on the web page became empty



On database level happened:

* the 'pref_value' field (type: text) in the 'horde_prefs' table was 
filled with 65535 characters as all rules are written with a special 
syntax to this field.

* The final rule was cut off in the middle of the description entry 
because it did not fit completely into to database field anymore

* As the syntax was broken the web page became empty.



Probably, it will be better to save the filter rules into an own 
database table with each rule as one data entry.



Best regards,

Heiko

Saved Queries