Issue 99 in dexterity: Schema defined through XML with plone.supermodel not marked with IContentType

1 view
Skip to first unread message

dext...@googlecode.com

unread,
Dec 9, 2009, 1:45:26 AM12/9/09
to dexterity-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 99 by jimbaack: Schema defined through XML with plone.supermodel
not marked with IContentType
http://code.google.com/p/dexterity/issues/detail?id=99

With a simple schema defined like

class ICustom(plone.directives.form.Schema):
form.model("models/custom.xml")


then

IContentType.providedBy(ICustom) returns False

The rest of the schema and type seems to work fine.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

dext...@googlecode.com

unread,
Jun 7, 2010, 10:32:13 AM6/7/10
to dexterity-...@googlegroups.com
Updates:
Status: WontFix

Comment #1 on issue 99 by optilude: Schema defined through XML with

plone.supermodel not marked with IContentType
http://code.google.com/p/dexterity/issues/detail?id=99

Thinking about this some more, it's not really desirable to do this. We
don't do it for other types (e.g. those
defined in Python) and I'm not sure a dependency on zope.app.content is all
that desirable, nor that
queryContentType/IContentType is particularly useful to us.

Reply all
Reply to author
Forward
0 new messages