| Summary | Bookmarks silently truncated at 255 chars |
| Queue | Trean |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | Horde Developers (at) , mrubinsk (at) horde (dot) org |
| Requester | felix.leimbach (at) gmx (dot) net |
| Created | 11/22/2008 (6192 days ago) |
| Due | |
| Updated | 11/25/2008 (6189 days ago) |
| Assigned | 11/23/2008 (6191 days ago) |
| Resolved | 11/25/2008 (6189 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
Assigned to Michael Rubinsky
State ⇒ Resolved
http://cvs.horde.org/diff.php/trean/scripts/sql/trean.sql?r1=1.4&r2=1.5&ty=u
http://cvs.horde.org/co.php/trean/scripts/upgrades/2008-11-25_fix_url_lengths.sql?r=1.1
State ⇒ Assigned
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Bookmarks silently truncated at 255 chars
Queue ⇒ Trean
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Investigating, I found that the URL is silently truncated at around
250 chars when you save a bookmark.
The cause:
The field bookmark_url in the trean_bookmarks DB table is of type
VARCHAR(255). Changing to VARCHAR(8192) fixed the problem for me. Note
that MySQL prior to version 5.0 has a maximum VARCHAR lengths of 255,
so you might want to use the text type instead.