From 32c92b976d2a6ca9130283a2b7c6d435130fc1a1 Mon Sep 17 00:00:00 2001 From: znek Date: Sat, 16 Oct 2004 17:50:25 +0000 Subject: [PATCH] presumably bugfixing, but instead disabled a questionable feature git-svn-id: http://svn.opengroupware.org/SOGo/trunk@403 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/UI/Anais/AnaisAttendeeSelector.m | 2 +- SOGo/UI/Anais/ChangeLog | 4 ++++ SOGo/UI/Anais/Version | 2 +- SOGo/UI/Scheduler/ChangeLog | 7 +++++++ SOGo/UI/Scheduler/UIxAppointmentEditor.wox | 1 + 5 files changed, 14 insertions(+), 2 deletions(-) diff --git a/SOGo/UI/Anais/AnaisAttendeeSelector.m b/SOGo/UI/Anais/AnaisAttendeeSelector.m index aa3d08a9..676b4d0b 100644 --- a/SOGo/UI/Anais/AnaisAttendeeSelector.m +++ b/SOGo/UI/Anais/AnaisAttendeeSelector.m @@ -237,7 +237,7 @@ static BOOL debugOn = NO; if (r.length > 0) { /* sample: 'test.et.di.cete-lyon@equipement.gouv.fr;test' */ email = [pString substringToIndex:r.location]; - cn = [pString substringFromIndex:r.location + r.length]; + cn = [pString substringFromIndex:NSMaxRange(r)]; if ([cn length] == 0) cn = nil; } else { diff --git a/SOGo/UI/Anais/ChangeLog b/SOGo/UI/Anais/ChangeLog index e76280bc..a289f06d 100644 --- a/SOGo/UI/Anais/ChangeLog +++ b/SOGo/UI/Anais/ChangeLog @@ -1,3 +1,7 @@ +2004-10-16 Marcus Mueller + + * AnaisAttendeeSelector.m: minor cleanup (v0.9.15) + 2004-09-14 Marcus Mueller * v0.9.14 diff --git a/SOGo/UI/Anais/Version b/SOGo/UI/Anais/Version index 84882450..0270084a 100644 --- a/SOGo/UI/Anais/Version +++ b/SOGo/UI/Anais/Version @@ -1,3 +1,3 @@ # $Id: Version 165 2004-08-05 17:55:50Z znek $ -SUBMINOR_VERSION:=14 +SUBMINOR_VERSION:=15 diff --git a/SOGo/UI/Scheduler/ChangeLog b/SOGo/UI/Scheduler/ChangeLog index 4c05b67a..36e9ff1c 100644 --- a/SOGo/UI/Scheduler/ChangeLog +++ b/SOGo/UI/Scheduler/ChangeLog @@ -1,3 +1,10 @@ +2004-10-16 Marcus Mueller + + * UIxAppointmentEditor.wox: added "withCN=YES" to resources because + doing otherwise would lead to stripping the CN from resources in + subsequent saves - why would anyone want this to be standard + behavior? (v0.9.89) + 2004-10-14 Marcus Mueller * UIxAppointmentView.wox: insertBR for comments (v0.9.88) diff --git a/SOGo/UI/Scheduler/UIxAppointmentEditor.wox b/SOGo/UI/Scheduler/UIxAppointmentEditor.wox index 2797d6bf..3121e1c9 100644 --- a/SOGo/UI/Scheduler/UIxAppointmentEditor.wox +++ b/SOGo/UI/Scheduler/UIxAppointmentEditor.wox @@ -195,6 +195,7 @@ const:role="NON-PARTICIPANT" attendees="resources" const:division="CC" + const:withCN="YES" /> -- 2.39.5