View Issue Details

IDProjectCategoryView StatusLast Update
0003075SOGoWeb Calendarpublic2016-02-23 16:14
ReporterMagnus Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.2.14 
Summary0003075: Imported event not editable
Description

When I try to edit an imported event (see attached .ics), I get a "400 Bad Request" response in the newly opened browser window.

Probably some characters "@", ":" used in the UID of the imported events are the problem.

Maybe they can be escaped or the UID changed upon import?

TagsNo tags attached.

Activities

Magnus

Magnus

2015-01-25 12:01

reporter  

awb.ics (4,031 bytes)   
BEGIN:VCALENDAR
PRODID:-//Ben Fortuna//iCal4j 1.0//EN
VERSION:2.0
CALSCALE:GREGORIAN
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150117
SUMMARY:Altpapier
UID:20150125T115441Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150214
SUMMARY:Altpapier
UID:20150125T115442Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150321
SUMMARY:Altpapier
UID:20150125T115443Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150105
SUMMARY:Bioabfall
UID:20150125T115444Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150119
SUMMARY:Bioabfall
UID:20150125T115445Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150202
SUMMARY:Bioabfall
UID:20150125T115446Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150216
SUMMARY:Bioabfall
UID:20150125T115447Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150302
SUMMARY:Bioabfall
UID:20150125T115448Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150316
SUMMARY:Bioabfall
UID:20150125T115449Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150330
SUMMARY:Bioabfall
UID:20150125T115450Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150112
SUMMARY:Gelber Sack
UID:20150125T115451Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150126
SUMMARY:Gelber Sack
UID:20150125T115452Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150209
SUMMARY:Gelber Sack
UID:20150125T115453Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150223
SUMMARY:Gelber Sack
UID:20150125T115454Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150309
SUMMARY:Gelber Sack
UID:20150125T115455Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150323
SUMMARY:Gelber Sack
UID:20150125T115456Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150330
SUMMARY:Häckselgut
UID:20150125T115457Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150103
SUMMARY:Restmüll
UID:20150125T115458Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150116
SUMMARY:Restmüll
UID:20150125T115459Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150130
SUMMARY:Restmüll
UID:20150125T115500Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150213
SUMMARY:Restmüll
UID:20150125T115501Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150227
SUMMARY:Restmüll
UID:20150125T115502Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150313
SUMMARY:Restmüll
UID:20150125T115503Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150327
SUMMARY:Restmüll
UID:20150125T115504Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
BEGIN:VEVENT
DTSTAMP:20150125T115441Z
DTSTART;VALUE=DATE:20150110
SUMMARY:Weihnachtsbaumabholung
UID:20150125T115505Z-1@fe80:0:0:0:215:5dff:fe09:cb0f%2
END:VEVENT
END:VCALENDAR
awb.ics (4,031 bytes)   
Christian Mack

Christian Mack

2015-01-26 14:25

developer   ~0008108

Those events do all have a DTSTART but lack DTEND.
Also there is no ORGANIZER defined in these events.

Magnus

Magnus

2015-01-26 22:05

reporter   ~0008109

How would this prevent the events to be opened in a browser window?

They show up correctly in the calender view, but cannot be edited.

Christian Mack

Christian Mack

2015-01-27 12:57

developer   ~0008110

Without organizer this event does not belong to the user.
So she doesn't have the required privileges to edit it.

But this is just, what I think could be the reason for this error.

Magnus

Magnus

2015-01-28 20:13

reporter   ~0008111

I did not find an ORGANIZER key for the other entries in the database (which function normaly).

I am sorry, maybe I should specify the error message more accurately. It says:

"Bad Request
Your browser sent a request that this server could not understand."

I thought this would hint to Apache not being able to interpret the URL correctly.

jaragunde

jaragunde

2016-02-23 16:14

reporter   ~0009584

I think I have the same error. This is what I found out:

  • I've imported a repeating event from an .ics generated by another calendar software.
  • When I try to edit the imported event in SOGo, a confirmation popup should appear to edit the current or all occurrences. This popup produces a 404 error.
  • I've noticed the imported ics file had a colon in the UID field, and the popup URL contains that field.

My guess is that colons in the UID are not properly escaped on import and they cause trouble. The awb.ics test case contains colons in that field too, so it looks plausible.

I'm attaching another .ics test case.

jaragunde

jaragunde

2016-02-23 16:14

reporter  

Issue History

Date Modified Username Field Change
2015-01-25 12:01 Magnus New Issue
2015-01-25 12:01 Magnus File Added: awb.ics
2015-01-26 14:25 Christian Mack Note Added: 0008108
2015-01-26 22:05 Magnus Note Added: 0008109
2015-01-27 12:57 Christian Mack Note Added: 0008110
2015-01-28 20:13 Magnus Note Added: 0008111
2016-02-23 16:14 jaragunde Note Added: 0009584
2016-02-23 16:14 jaragunde File Added: webcalendar-jaragunde-3313.ics