View Issue Details

IDProjectCategoryView StatusLast Update
0000987Lightning (Inverse Edition)public2011-01-19 01:32
Reporterwimmer Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.11 
Summary0000987: Confirmation status didn't work well when event is created from Lightning
Description

I create new event in TH2+L+C+I with attendees B, C and D.
When I open this event immediately after its inserting, I see user B has "yellow dot" (waiting for confirmation) and users C and D have "green dot" (they accepted). But it is fault - they didn't accepted that event.
When I see to ICS of this event, I see fault - users C and D have "PARTSTAT=ACCEPTED"

ORGANIZER;ROLE=CHAIR;PARTSTAT=ACCEPTED;CN=userA;RSVP=TRUE:mailt^M
o:user@z.cz^M
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=userB;R^M
SVP=TRUE:mailto:b@z.cz^M
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CN=userC;R^M
SVP=TRUE:mailto:c@z.cz^M

This works well when event is created from WebGUI.

TagsNo tags attached.

Relationships

has duplicate 0001050 closed thunderbird - inviting yourself makes all other attendees automatically accept the meeting 

Activities

wimmer

wimmer

2010-11-16 19:01

reporter   ~0001846

This work well when event is created from TH3+L+C+I.
So it is problem of TH2+L+C+I only.

2011-01-17 22:01

 

lightning-tb2-partstat.patch (1,050 bytes)   
--- src/calendar/base/content/sun-calendar-event-dialog-attendees.xml   4c9a2be8317eb6ae6b6dcfe4e3704bba470b66cd
+++ src/calendar/base/content/sun-calendar-event-dialog-attendees.xml   bbda1cf23d75188e9f52f6733afd1a6f9374cb7a
@@ -471,17 +471,6 @@
                   var attendee = inputField.attendee.clone();

                   attendee.role = this.getRoleElement(i).getAttribute("role");
-                  if (attendee.role == "NON-PARTICIPANT") {
-                    attendee.rsvp = false;
-                    attendee.participationStatus = "";
-                  } else {
-                    attendee.rsvp = true;
-                    var newStatus = this.getStatusElement(i).getAttribute("status");
-                    if (newStatus == "") {
-                      newStatus = "NEEDS-ACTION";
-                    }
-                    attendee.participationStatus = newStatus;
-                  }

                   // break the list of potentially many attendees back into individual names
                   var emailAddresses = {};
lightning-tb2-partstat.patch (1,050 bytes)   
francis

francis

2011-01-17 22:02

administrator   ~0002029

Last edited: 2011-01-17 22:03

Can you tried the attached patch (ca.inverse.calendar branch)? I'm not sure it covers all scenarios, but it seems to fix the problem ..

Thanks!

wimmer

wimmer

2011-01-18 11:36

reporter   ~0002031

Hello Francis,
I tried your patch and it works nice.
All attendees have "PARTSTAT=NEEDS-ACTION" now.

thanks,
Milos

francis

francis

2011-01-19 01:32

administrator   ~0002032

Last edited: 2011-01-19 01:32

Thanks Milos.

It's now fixed with revision 24576c193a143ffd8f74800f0b605b9a43a734ef. I also bumped the version of Lightning for TB2 (now 0.12).

Issue History

Date Modified Username Field Change
2010-11-16 18:33 wimmer New Issue
2010-11-16 19:01 wimmer Note Added: 0001846
2011-01-14 21:13 francis Status new => assigned
2011-01-14 21:13 francis Assigned To => francis
2011-01-17 22:01 francis File Added: lightning-tb2-partstat.patch
2011-01-17 22:02 francis Note Added: 0002029
2011-01-17 22:03 francis Note Edited: 0002029
2011-01-18 11:36 wimmer Note Added: 0002031
2011-01-19 01:32 francis Note Added: 0002032
2011-01-19 01:32 francis Status assigned => resolved
2011-01-19 01:32 francis Fixed in Version => 0.12
2011-01-19 01:32 francis Resolution open => fixed
2011-01-19 01:32 francis Note Edited: 0002032
2011-01-20 01:56 francis Relationship added has duplicate 0001050