| Summary | Value too long importing iCalendar file | 
| Queue | Kronolith | 
| Queue Version | 2.0-RC2 | 
| Type | Bug | 
| State | Resolved | 
| Priority | 2. Medium | 
| Owners | Horde Developers (at) | 
| Requester | srrafa (at) usc (dot) es | 
| Created | 12/01/2004 (7643 days ago) | 
| Due | |
| Updated | 12/18/2004 (7626 days ago) | 
| Assigned | 12/11/2004 (7633 days ago) | 
| Resolved | 12/18/2004 (7626 days ago) | 
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No | 
State ⇒ Resolved
of DB error management anywhere.
title. Do we return the imported event in this code? Then we could
display the (now truncated) title of the imported event in the success
notification.
but I think making it a little bit longer (let's say 160 chars) does
not hurt.
think 1 is probably all we can do, we don't have the infrastructure in
place to do 2 really...
1. Fail with a more descriptive error message. I was able to track
the problem because I have access to the log file., but non-admins
will not figure out what's wrong with the calendar.
2. Truncate the offending field and import the calendar issuing a
warning that indicates that condition.
I think that option 2 is better. I prefer to have my remote calendar
imported with some fields truncated than not having it.
State ⇒ Feedback
New Attachment: sts61.ics
http://ical.mac.com/durban/Nasa32History.ics
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Value too long importing iCalendar file
Queue ⇒ Kronolith
State ⇒ Unconfirmed
process fails with
DB Error: unknown error
This is the error report in the horde log
Dec 01 14:05:34 HORDE [error] [kronolith] DB Error: unknown error:
INSERT INTO kronolith_events (event_id, event_creator_id, event_title,
event_description, event_category, event_location, event_status,
event_attendees, event_keywords, event_exceptions, event_modified,
event_start, event_end, event_alarm, event_recurtype,
event_recurinterval, event_recurenddate, calendar_id)values
('b801edce96a1f108af873670585679f5','srproba','(1985) STS-61-A
Challenger Launch - D-1 Spacelab mission (first German-dedicated
Spacelab)','',0,'',2,'a:0:{}','','',1101906334,'2003-10-30
00:00:00','2003-10-31
00:00:00',0,5,'1','99991231','52aa0b73abaaf9c217424ead918b012b')
[nativecode=ERROR: value too long for type character varying(80)] [on
line 359 of
"/var/www/horde-3.0-rc2/kronolith-h3-2.0-rc2/lib/Driver/sql.php"]