Re: improving 'BaseObject._renameAfterCreation'

Raphael Ritz <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Organization Humboldt-University Berlin
Message-ID <[email protected]>
Stefan H. Holek wrote:
> Can't you just override _renameAfterCreation in your class?

Sure that's what I'm currently doing

 > AT needs
> *less* features, not more. ;)

Agreed.

Raphael

PS: nevertheless I find it stupid how this
method is implemented. IMHO it does too many things.
So if you override, you need to take care to
reproduce this all (valid id checking etc).
When overriding in your custom class here, you
copy/paste/modify which in my mind almost
alway calls for some refactoring.
But never mind ...



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.