View Issue Details

IDProjectCategoryView StatusLast Update
0000181SOGoWeb Calendarpublic2009-10-19 14:19
Reporterwimmer Assigned Toludovic  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Versionnightly v2 
Target Version1.1.0Fixed in Version1.1.0 
Summary0000181: Event invitation in edited event
Description
  • I will work in WebGUI only in this case

1)

  • User user1 logons into SOGo, create new event and set invitation for user2 by
    this action
    => event is inserted into user1's calendar, is inserted into user2's calendar and user2 receives e-mail with invitation
    => that's right

2)

  • User user1 logons into SOGo, create new event (without invitation)
    = > event is inserted into user1's calendar
  • user1 opens that event for editing and he sets invitation for user2
    => this event isn't inserted into user2's calendar, user2 receive no e-mail message about this event

I tried reproduce it on sogo demo site. Event is inserted in user2 calendar there, no e-mail message is send.
I have 2 systems (Debian-testing) and on both is event not inserted into user2's calendar.
I'm using same date mtn version as on sogo demo server. It's a little bit frustrated that some things work on some systems so different :-(

Could some other users which run mtn version try it too, please?

thanks,

TagsNo tags attached.

Activities

ludovic

ludovic

2009-10-18 17:09

administrator   ~0000205

I can reproduce it on my devel instance. This bug is a blocker for 1.1.0.

ludovic

ludovic

2009-10-18 19:05

administrator   ~0000206

I know where is the issue but out of curiosity, was it even working with 1.0.4? From the 1.0.4 code, it doesn't look like it ever did.

ludovic

ludovic

2009-10-19 12:42

administrator   ~0000212

Try this patch:

patch "UI/Scheduler/UIxTimeDateControl.m"

from [631183574d4e5c34310abe33f9bb93af46d40e2f]

to [98577f40ec61370d5a1e157c1c74296a89a57fb4]

#

--- SoObjects/Appointments/SOGoAppointmentObject.m f0cf6fcf283b76e6cc6c91f70735d6b99e6d43be
+++ SoObjects/Appointments/SOGoAppointmentObject.m 87b5ffb64edcb5b7bb4db8c9456d3b0f8f53db1b
@@ -546,6 +546,7 @@
}
else
{

  • BOOL hasOrganizer;
    // Event is modified -- sent update status to all attendees
    // and modify their calendars.
    recurrenceId = [newEvent recurrenceId];
    @@ -562,12 +563,12 @@
    oldEvent = (iCalEvent*)[self newOccurenceWithID: recurrenceTime];
    }

  • oldMasterEvent

  • = (iCalEvent *) [[oldEvent parent] firstChildWithTag: [self componentTag]];

  • if ([oldMasterEvent userIsOrganizer: ownerUser])

  • oldMasterEvent = (iCalEvent *) [[oldEvent parent] firstChildWithTag: [self componentTag]];

  • hasOrganizer = [[[oldMasterEvent organizer] email] length];

  • if (!hasOrganizer || [oldMasterEvent userIsOrganizer: ownerUser])
    {
    // The owner is the organizer of the event; handle the modifications

  •   [self _handleUpdatedEvent: newEvent fromOldEvent: oldEvent];
    
      // The sequence has possibly been increased -- resave the event.
wimmer

wimmer

2009-10-19 13:41

reporter   ~0000213

I applied that patch
and it works nice for me now.
Thanks.

ludovic

ludovic

2009-10-19 14:19

administrator   ~0000214

Fixed by http://mtn.inverse.ca/revision/diff/8a33774ff55089b02c43fb1a6d1acfd98521c634/with/ccaab9322e172157de4d07dca19f1e071e7836a4

Issue History

Date Modified Username Field Change
2009-10-18 15:56 wimmer New Issue
2009-10-18 17:09 ludovic Status new => assigned
2009-10-18 17:09 ludovic Assigned To => ludovic
2009-10-18 17:09 ludovic Note Added: 0000205
2009-10-18 17:09 ludovic Target Version => 1.1.0
2009-10-18 19:05 ludovic Note Added: 0000206
2009-10-19 12:42 ludovic Note Added: 0000212
2009-10-19 13:41 wimmer Note Added: 0000213
2009-10-19 14:19 ludovic Note Added: 0000214
2009-10-19 14:19 ludovic Status assigned => resolved
2009-10-19 14:19 ludovic Fixed in Version => 1.1.0
2009-10-19 14:19 ludovic Resolution open => fixed