Ticket #8161 (closed Bug: wontfix)
portal_types meta_type != obj.meta_type
|Reported by:||frisi||Owned by:||frisi|
|Keywords:||CMF portalfactory||Cc:||jphoude, frisi|
If you defined the meta_type of your content type in profiles/default/types/My_Type.xml like that::
<object name="My Type"> ... <property name="content_meta_type">My Type</property> ...
objects of your type will have 'MyType' as meta_type::
>>> _ = folder.invokeFactory('My Type', 'mytype') >>> folder.mytype.meta_type 'MyType'
This breaks sorting since Products.Archetypes.OrderedBaseFolder.moveObjectsByDelta only takes CMF-Types into account by comparing meta_types.
Since these differ for meta types containing spaces you'll experience very strange behaviour when reordering items in a folder containing some objects of type 'My Type'.
- Status changed from new to closed
- Resolution set to invalid
- Status changed from closed to reopened
- Resolution invalid deleted
- Status changed from reopened to closed
- Resolution set to wontfix