Closed
Bug 774102
Opened 13 years ago
Closed 6 years ago
itip parsing dies on missing LOCATION
Categories
(Calendar :: E-mail based Scheduling (iTIP/iMIP), defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: buecher, Unassigned)
References
Details
(Whiteboard: [closeme 2019-04-01])
User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0)
Steps to reproduce:
I sent an event publish per rfc 2446 page 60 minimal published event. (by PHPMailer)
Although LOCATION is optinal for VEVENT (0 or 1, see page 15 in rfc), TB displays a blank email (not even default text). As soon as LOCATION is added, LT offers to add event to calendar.
error console: Zeitstempel: 15.07.2012 20:57:57
Fehler: [Exception... "Component returned failure code: 0x804a0100 [calIICSService.parseICS]" nsresult: "0x804a0100 (<unknown>)" location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/xxx/AppData/Roaming/Thunderbird/Profiles/oq7e67ge.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calIcsParser.js :: ip_parseString :: line 182" data: no]
Quelldatei: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/xxx/AppData/Roaming/Thunderbird/Profiles/oq7e67ge.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calIcsParser.js
Zeile: 182
Component: General → E-mail based Scheduling (iTIP/iMIP)
OS: All → Windows 7
Hardware: All → x86
an empty
LOCATION:
is sufficient to properly display the mail/add button
Comment 2•13 years ago
|
||
I cannot reproduce your problem. Tested Lightning 1.6, Lightning 1.7b3 and Lightning 1.9a1. I send me a test invitation that doesn't contain a location and the iTIP bar with Accept/Decline/Tentative button is correctly shown.
Could you attach the ics file here that is attached to the email message that causes the problem?
In addition I'd like to ask if you could test using Lightning 1.7 Beta + Thunderbird 15 Beta or newer. The invitation handling had to be changed in 1.7 and therefore the result might be different.
this is not an invitation created by lightning without location specified..
With capital letter LOCATION I mean the VEVENT LOCATION line, not the LT location entry.
Rather, I am implementing imip for web2project and composed multipart emails or text/calendar emails according to the rfc.
There is a minimal event publishing example in the rfc, that does not show the buttons in LT unless I include the LOCATION, it may be empty.
Looking at the rfc, LOCATION is optional for events, so the minimal example should work.
How do I test with LT 1.7/TB15? Can I install parallel to my current TB, or do I need a virtual machine?
thanks,
Klaus
Comment 4•13 years ago
|
||
> this is not an invitation created by lightning without location specified..
> With capital letter LOCATION I mean the VEVENT LOCATION line, not the LT location entry.
I fail to understand what you are trying to say here. If you specify an event location in Lightning the LOCATION property in the VEVENT component will be set. But I created the invitation event without specifying the location, i.e. no LOCATION property is created in the VEVENT component. This invitation works fine.
Please clarify what exactly you are doing and provide detailed steps to reproduce the problem and give an example or test case.
> How do I test with LT 1.7/TB15? Can I install parallel to my current TB,
> or do I need a virtual machine?
Yes, you can run multiple Thunderbird versions using multiple profiles. Just install or extract in different locations and use Thunderbird profile manager to create testing profiles.
I am programming a web application (PHP) that can send imip invitations.
based on RFC 2446 iCalendar Transport-Independent Interoperability Protocol
(iTIP)
Scheduling Events, BusyTime, To-dos and Journal Entries
The RFC gives a minimal published event to be emailed using imip protocol:
4.1.1 A Minimal Published Event
The iCalendar object below describes a single event that begins on
July 1, 1997 at 20:00 UTC. This event contains the minimum set of
properties for a "PUBLISH" for a "VEVENT" calendar component.
BEGIN:VCALENDAR
METHOD:PUBLISH
PRODID:-//ACME/DesktopCalendar//EN
VERSION:2.0
BEGIN:VEVENT
ORGANIZER:mailto:a@example.com
DTSTART:19970701T200000Z
DTSTAMP:19970611T190000Z
SUMMARY:ST. PAUL SAINTS -VS- DULUTH-SUPERIOR DUKES
UID:0981234-1234234-23@example.com
END:VEVENT
END:VCALENDAR
If I send this, there is no add button.
If I also include LOCATION: in the VEVENT, there is an add button.
According to the RFC, LT should accept this invitation. Or shouldn't it?
I have set organizer to a valid email and the dates to sometime in July 2012.
Comment 7•13 years ago
|
||
I can import the sample event from Comment 5 fine. Could not test as invitation because I don't know how to create such an invitation with Lightning. Maybe someone else can investigate more.
In addition please ensure that your are using the latest specification. RFC 2446 and RFC 2447 are obsolete and have been updated by RFC 5546 (iTIP) and RFC 6047 (iMIP).
Comment 8•7 years ago
|
||
(In reply to Stefan Sitter [:ssitter] from comment #7)
> I can import the sample event from Comment 5 fine. Could not test as
> invitation because I don't know how to create such an invitation with
> Lightning. Maybe someone else can investigate more.
>
> In addition please ensure that your are using the latest specification. RFC
> 2446 and RFC 2447 are obsolete and have been updated by RFC 5546 (iTIP) and
> RFC 6047 (iMIP).
Flags: needinfo?(buecher)
yes, when I have time, I will try this using the new RFC
Flags: needinfo?(buecher)
Reporter | ||
Comment 10•7 years ago
|
||
to Stefan or who might be interested:
if an email comes in as
Content-Type: text/calendar; method=REQUEST;
charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: something
Content-Language: ja
X-Envelope-To: nn@nn.nn
BEGIN:VCALENDAR
etc
etc., then lightning interprets it as invitation
Comment 11•6 years ago
|
||
(In reply to klaus from comment #9)
yes, when I have time, I will try this using the new RFC
NI as reminder
Reporter | ||
Comment 12•6 years ago
|
||
I did some experimenting by importing vevents from the new rfc cited by Stefan above.
That seems to be ok with current LT.
So whatever happened 7 years ago seems to be fixed now.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(buecher)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•