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:
parent
2b3a84e9d1
commit
d94767576b
@ -10,8 +10,18 @@
|
||||
<five:registerPackage package="." />
|
||||
|
||||
<include package="plone.indexer" />
|
||||
|
||||
<!-- 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" />
|
||||
|
Loading…
Reference in New Issue
Block a user