Issue 282 in dexterity: Should copied objects use INameChooser?

0 views
Skip to first unread message

dext...@googlecode.com

unread,
Jan 10, 2013, 5:44:42 AM1/10/13
to dexterity-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 282 by wich...@wiggy.net: Should copied objects use INameChooser?
http://code.google.com/p/dexterity/issues/detail?id=282

Currently when copying a dexterity object the new id is determine by the
OFS.CopySupport.CopySupport._get_id() method, which returns a
copyN_of_<original id>. This may create names that violation the naming
policy as defined by the INameChooser adapter.

Should dexterity override _get_item to defer to the name chooser?


dext...@googlecode.com

unread,
Jan 11, 2013, 8:11:25 AM1/11/13
to dexterity-...@googlegroups.com

Comment #1 on issue 282 by wich...@wiggy.net: Should copied objects use
INameChooser?
http://code.google.com/p/dexterity/issues/detail?id=282

This appears to require a change in Zope2 to pass the object to be pasted
to _get_id as well. I made a Zope2 branch to do that
(http://svn.zope.org/Zope/branches/wichert-ofs-paste-naming/develop/?rev=129036&view=rev).
Hopefully that can be merged soon.

Reply all
Reply to author
Forward
0 new messages