Skip to content

Commit

Permalink
Use Dexterity names to avoid nasty interface lookup errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
tisto committed Sep 6, 2020
1 parent 437e76a commit d08b514
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
1.1.1 (unreleased)
------------------

- Nothing changed yet.
- Use Dexterity names to avoid nasty interface lookup errors.
[timo]


1.1.0 (2019-04-15)
Expand Down
18 changes: 9 additions & 9 deletions src/collective/faq/profiles/default/types/FAQ.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@

<!-- Enabled behaviors -->
<property name="behaviors" purge="false">
<element value="plone.app.dexterity.behaviors.metadata.IDublinCore"/>
<element value="plone.app.content.interfaces.INameFromTitle"/>
<element value="plone.app.dexterity.behaviors.exclfromnav.IExcludeFromNavigation"/>
<element value="plone.app.dexterity.behaviors.discussion.IAllowDiscussion"/>
<element value="plone.app.dexterity.behaviors.id.IShortName"/>
<element value="plone.app.relationfield.behavior.IRelatedItems"/>
<element value="plone.app.versioningbehavior.behaviors.IVersionable" />
<element value="plone.app.contenttypes.behaviors.tableofcontents.ITableOfContents"/>
<element value="plone.app.lockingbehavior.behaviors.ILocking" />
<element value="plone.dublincore" />
<element value="plone.namefromtitle" />
<element value="plone.excludefromnavigation" />
<element value="plone.allowdiscussion" />
<element value="plone.shortname" />
<element value="plone.relateditems" />
<element value="plone.versioning" />
<element value="plone.tableofcontents" />
<element value="plone.locking" />
</property>

<!-- View information -->
Expand Down
18 changes: 9 additions & 9 deletions src/collective/faq/profiles/default/types/FAQ_Item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
<property name="schema">collective.faq.interfaces.IFAQItem</property>

<!-- Enabled behaviors -->
<property name="behaviors" purge="false">
<element value="plone.app.content.interfaces.INameFromTitle"/>
<element value="plone.app.dexterity.behaviors.exclfromnav.IExcludeFromNavigation"/>
<element value="plone.app.dexterity.behaviors.discussion.IAllowDiscussion"/>
<element value="plone.app.dexterity.behaviors.id.IShortName"/>
<element value="plone.app.relationfield.behavior.IRelatedItems"/>
<element value="plone.app.versioningbehavior.behaviors.IVersionable" />
<element value="plone.app.contenttypes.behaviors.tableofcontents.ITableOfContents"/>
<element value="plone.app.lockingbehavior.behaviors.ILocking" />
<property name="behaviors" purge="false"> />
<element value="plone.namefromtitle" />
<element value="plone.excludefromnavigation" />
<element value="plone.allowdiscussion" />
<element value="plone.shortname" />
<element value="plone.relateditems" />
<element value="plone.versioning" />
<element value="plone.tableofcontents" />
<element value="plone.locking" />
</property>

<!-- View information -->
Expand Down

0 comments on commit d08b514

Please sign in to comment.