]> err.no Git - scalable-opengroupware.org/blobdiff - UI/Scheduler/UIxComponentEditor.m
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1034 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Scheduler / UIxComponentEditor.m
index 03479b99124850c4f362e8e6da514bfecf6ca683..1b8c8d7d63c4355be0c6edaf9818c871cbd5a8f2 100644 (file)
                      inContext: (WOContext *) _ctx
 {
   NSCalendarDate *now;
+  SOGoCalendarComponent *clientObject;
 
   [super takeValuesFromRequest: _rq inContext: _ctx];
 
   [component setUrl: url];
   [self _handleAttendeesEdition];
   [self _handleOrganizer];
-  if ([[self clientObject] isNew])
+  clientObject = [self clientObject];
+  if ([clientObject isNew])
     {
+      [component setUid: [clientObject nameInContainer]];
       [component setCreated: now];
       [component setTimeStampAsDate: now];
       [component setPriority: @"0"];