Monotone-Parent: edaccd479e4cae4f7789db56186ded5c32ea46f5

Monotone-Revision: 27c9258114601f08525990a7068b3d1fb02b6c43

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-03-27T18:18:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-03-27 18:18:06 +00:00
parent 8818a3982d
commit 00f7d8233f
2 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2007-03-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
-takeValuesFromRequest:_rqinContext:_ctx]): append a "uid" field
to the new components.
* SoObjects/SOGo/SOGoUser.m ([SOGoUser -userSettings]): new method
(see below).

View File

@@ -816,6 +816,7 @@
inContext: (WOContext *) _ctx
{
NSCalendarDate *now;
SOGoCalendarComponent *clientObject;
[super takeValuesFromRequest: _rq inContext: _ctx];
@@ -826,8 +827,10 @@
[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"];