Issue 285 in dexterity: content_meta_type property removed from fti properties. If own meta_type defined on class, CopyError when renaming or copying

18 views
Skip to first unread message

dext...@googlecode.com

unread,
May 27, 2013, 5:48:27 AM5/27/13
to dexterity-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 285 by step...@imio.be: content_meta_type property removed from
fti properties. If own meta_type defined on class, CopyError when renaming
or copying
http://code.google.com/p/dexterity/issues/detail?id=285

What steps will reproduce the problem?
1. Define a meta_type on your dexterity class
2. Try to copy/paste or rename an object of this type

What is the expected output? What do you see instead?
Object not renamed or not copied.
Catched CopyError ('Not Supported') raised in OFS/CopySupport, method
_verifyObjectPaste because own meta_type is not found in all_meta_types

What version of the product are you using? On what operating system?
Plone 4.2.5 with plone.dexterity master

Please provide any additional information below.
content_meta_type property removed in fti.py, method _fixProperties
Is there a reason ?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

dext...@googlecode.com

unread,
May 28, 2013, 1:47:41 AM5/28/13
to dexterity-...@googlegroups.com

Comment #1 on issue 285 by dgl...@gmail.com: content_meta_type property
removed from fti properties. If own meta_type defined on class, CopyError
when renaming or copying
http://code.google.com/p/dexterity/issues/detail?id=285

Why do you need a custom meta_type?

dext...@googlecode.com

unread,
May 28, 2013, 3:06:10 AM5/28/13
to dexterity-...@googlegroups.com

Comment #2 on issue 285 by step...@imio.be: content_meta_type property
removed from fti properties. If own meta_type defined on class, CopyError
when renaming or copying
http://code.google.com/p/dexterity/issues/detail?id=285

Hi David,
in several products, we generate portal types from a user configlet, all
based on meta types.
It is necessary for us to retrieve all objects of a certain meta_type.
From catalog, it would be possible to retrieve objects marked with a
certain interface but not with objectValues by example (that has a
meta_type parameter).
Kind regards
Stephan
Reply all
Reply to author
Forward
0 new messages