Do not use plone.app.uuid to generate unique UIDs for Plone 3. plone.app.uuid causes the IObjectAddedEvent to be fired twice on Plone 3. This causes the email notifications to be send twice. This means that https://dev.plone.org/plone/ticket/10652 is fixed only for Plone 4.

svn path=/plone.app.discussion/trunk/; revision=46043
This commit is contained in:
Timo Stollenwerk 2010-11-30 09:50:12 +00:00
parent 2b3a84e9d1
commit d94767576b
1 changed files with 13 additions and 3 deletions

View File

@ -10,9 +10,19 @@
<five:registerPackage package="." />
<include package="plone.indexer" />
<include package="plone.uuid" />
<include package="plone.app.uuid" />
<!-- XXX: Excluding plone.app.uuid for Plone 3 is only a temporary 'fix'.
plone.app.uuid causes the IObjectAddedEvent to be fired twice on
Plone 3. This causes the email notifications to be send twice.
This means that https://dev.plone.org/plone/ticket/10652 is fixed only
for Plone 4.
-->
<configure zcml:condition="have plone-4">
<include package="plone.uuid" />
<include package="plone.app.uuid" />
</configure>
<include file="permissions.zcml" />
<include file="notifications.zcml" />
<include file="subscribers.zcml" />