plone / bobtemplates.plone

Python Code Templates for Plone Projects with mr.bob
https://pypi.org/project/bobtemplates.plone/
GNU General Public License v2.0
24 stars 31 forks source link

XML model based content-types do not have a class object and thus neither an interface #506

Open erral opened 2 years ago

erral commented 2 years ago

When creating a XML model based content-type no content-type class is created, the base class is plone.dexterity.Container (or plone.dexterity.Item), and not a specific content-type.

Moreover the content-types created like this do not implement the specific interface created to them and dificultes creating an indexer or a any other thing that can be attached to an interface.