View Issue Details

IDProjectCategoryView StatusLast Update
0002186SOGoBackend Calendarpublic2013-01-17 21:00
Reporterryacketta Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Product Version2.0.3a 
Summary0002186: X-WR-CALNAME has linefeed
Description

Looking at an exported public ICS file we noticed that the X-WR-CALNAME has a linefeed when the total length exceeds 75 chars

X-WR-CALNAME:Crane School of Music (Ronald J. Yacketta <yacketrj@potsdam.ed
u>)

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2013-01-17 13:57

developer   ~0005214

As there is a space as first character after the linefeed, this is a valid line continuation.
In the standard this breaking of lines after 75 characters is even suggested.

So IMHO this is absolutely OK.

ryacketta

ryacketta

2013-01-17 14:33

reporter   ~0005217

True, but the space is added on your end. If I just right-clickt he calendar and export the X-WR-CALNAME is 'X-WR-CALNAME:Crane School of Music', if I go to the ICS url then the X-WR-CALNAME is X-WR-CALNAME:Crane School of Music (Ronald J. Yacketta <yacketrj@potsdam.ed
u>).
Two different ways to get the ICS file with two different X-WR-CALNAME values. Looks like ' (Ronald J. Yacketta <yacketrj@potsdam.ed
u>)' added by code when going to the ICS URL, maybe something is a bit off in that area which is causing a linefeed?

Christian Mack

Christian Mack

2013-01-17 16:35

developer   ~0005220

If you use "export calendar...", then it is your own calendar so " (Ronald J. Yacketta <yacketrj@potsdam.edu>)" is not added to the calendar name.

If you get it via ICS-URL, then you could be a different person getting this calendar by public access.
Therefore the original owner is added to the calendar name.
With this the whole calendar name reads:
Crane School of Music (Ronald J. Yacketta <yacketrj@potsdam.edu>)

As this name with the corresponding fieldname is longer than 75 characters this is broken into two lines.
In your case this results in
X-WR-CALNAME: Crane School of Music (Ronald J. Yacketta <yacketrj@potsdam.ed
u>)

You can check, that both means of exporting work alike, when you set a longer calendar name
E.g. test this with "Crane private School of experimental and pure instrumental Music"
With this you will get in both cases two lines, which the second one starts with a space.

This is absolute intentional.
You will also get these linefeeds when you invite people with a long enough email address for the corresponding field ATTENDEE.

ludovic

ludovic

2013-01-17 21:00

administrator   ~0005222

This isn't a bug.

Issue History

Date Modified Username Field Change
2013-01-16 16:46 ryacketta New Issue
2013-01-17 13:57 Christian Mack Note Added: 0005214
2013-01-17 14:33 ryacketta Note Added: 0005217
2013-01-17 16:35 Christian Mack Note Added: 0005220
2013-01-17 21:00 ludovic Note Added: 0005222
2013-01-17 21:00 ludovic Status new => closed
2013-01-17 21:00 ludovic Resolution open => won't fix