Open Bug 1785990 Opened 2 years ago Updated 2 years ago

Convert message to task fails - ParserError: invalid line (no token ";" or ":") "\n" CalIcsParser.jsm:154:39

Categories

(Calendar :: Tasks, defect, P3)

Thunderbird 104

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: erixtekila, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0

Steps to reproduce:

On thunderbird version 104 all versions, the "convert to…" feature doesn't work anymore, either for task or event.

Actual results:

The saving popup appears correctly. It's possible to save.

Expected results:

But the message doesn't appears in the tasks listing.

Note that all the ical and imap servers works correctly.

Severity: -- → S2
Component: Untriaged → Tasks
Priority: -- → P3
Product: Thunderbird → Calendar

Seems to work on Daily.
Did you try in Help | Troubleshoot mode?

I did with no luck.
Is there a log somewhere ?

You can check Tools | Error Console (Ctrl+Shift+J)

There is a parsing error in the converted message.
Here is the callstack :

uncaught exception: ParserError: invalid line (no token ";" or ":") "\n" CalIcsParser.jsm:154:39
    parseString resource:///modules/CalIcsParser.jsm:154
    addTargetCalendarItem resource:///modules/CalDavCalendar.jsm:919
    endElement resource:///modules/caldav/CalDavRequestHandlers.jsm:983
    _walk resource:///modules/caldav/CalDavRequestHandlers.jsm:112
    AsyncFunctionNext self-hosted:668

After the caldav task fails too :

Calendar: Failed to parse item: BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Paris
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VTODO
CREATED:20220822T115913Z
LAST-MODIFIED:20220822T115916Z
DTSTAMP:20220822T115916Z
UID:b5137941-daec-45f4-8298-6b918b33ecbd
SUMMARY:Adresse de facturation nas
DTSTART;TZID=Europe/Paris:20220822T140000
PERCENT-COMPLETE:0
DESCRIPTION:Salut Éric

I've stripped the message for confidentiality purpose.

How could I be of any help please ?

The error message is the same as in bug 1776462. Maybe this is a duplicate bug report.

Probably duplicate yes.

Is this only with some particular message you're trying to convert? Does it duplicate e.g. for a bug mail?

(In reply to Magnus Melin [:mkmelin] from comment #6)

Probably duplicate yes.
Definitively, yes !

Does it duplicate e.g. for a bug mail?
What's that ?
Would you provide one ?
Thanks

I mean the mails you get from bugzilla.

I don't get you. Yes, the bug is reproductible with the same mail.

But anyhow, here is an observation I've made.
The message is trunkaded at the moment it is sent to teh caldav server.
I can see that while using another task caldav app.

  • The title of the mail is converted to the caldav one.
  • The content of the message is trunkated after the first line of the message. \n maybe ?
  • The task doesn't appear in thunderbird
  • BUT it appears in other apps, chrunked.

Seems to me, that the parsing issue just stops thunderbird to render it, but meanwhile it received serverside.

HTH

I may tend to think that this bug and bug 1776462 are both duplicate of bug 1738611

User story and possible workaround for your info...
Bug 1738611 Comment 20

Summary: Convert message to task fails → Convert message to task fails - ParserError: invalid line (no token ";" or ":") "\n" CalIcsParser.jsm:154:39
You need to log in before you can comment on or make changes to this bug.