Re: Unexpected awakeFromInsertion() behaviour
Re: Unexpected awakeFromInsertion() behaviour
- Subject: Re: Unexpected awakeFromInsertion() behaviour
- From: Anjo Krank <email@hidden>
- Date: Fri, 11 Jan 2008 10:56:06 +0100
Of what? Not applying default values when the object is not "new"? Oh,
well... I do.
Cheers, Anjo
Am 11.01.2008 um 08:36 schrieb Mr. Pierre Frisch:
I don't see the advantage
Pierre
--
Pierre Frisch
email@hidden
On Jan 10, 2008, at 22:00, Anjo Krank wrote:
Am 11.01.2008 um 01:13 schrieb Peter Vandoros:
It makes sense to me for it to call awakeFromInsertion() *BUT*
this results in an object state different from what was there
before the changes being reverted. That seems to be a very wrong
result.
Which is why in (yawn) Wonder's ERXGenericRecord you override
init() to set default values.
Cheers, Anjo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden