Closed Bug 351723 Opened 18 years ago Closed 18 years ago

comma (,) in summary is not properly parsed

Categories

(Calendar :: Tasks, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: damian.publicemail, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060907 Calendar/0.3a2+

summary of task which is subscribed contains comma (,) is not displayed properly - only letters before first comma is shown, rest is omited

Reproducible: Always

Steps to Reproduce:
1. subscribe task which has comma in summary, eg this one
https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=Calendar&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&emailtype1=exact&email1=&emailtype2=exact&email2=&bugidtype=include&bug_id=351528&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&field0-0-0=noop&type0-0-0=noop&value0-0-0=&ctype=ics
Actual Results:  
summary is not parsed properly, only first letters is displayed, the rest, after comma, was omited

Expected Results:  
summary should contains all text, from begining to the end of line

if you open this calendar in text editor you will see that ics is stored properly, so for me there is somehting wrong with parsing, however please confirm it
Attached image screenshot —
From ics file:
[...]
SUMMARY:Task (with date, without due date) causes 'Error: ad has no propert
 ies' in agenda-tree.js
[...]
As you can see this is invalid. Comma must be encoded as \,.

See Bug 274408 that should fix Bugzilla.
let me modify summary (put comma) so we can always verify this issue using this bug instead of looking for any which contains comma :)
Summary: comma in summary is not properly parsed → comma (,) in summary is not properly parsed
(In reply to comment #2)
> As you can see this is invalid. Comma must be encoded as \,.
right, when I export event with comma it is stored as \,

As said the iCalendar file created by Bugzilla is invalid. At the moment Sunbird is just following the rules dedicated by iCalendar standard. The problem has to be fixed on Bugzilla.
See also Bug 315923, Bug 268201, Bug 304674, ...
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: