Plone 3 specific exclusion of plone.app.uuid removed.
svn path=/plone.app.discussion/trunk/; revision=50935
This commit is contained in:
		
							parent
							
								
									dbbd36c692
								
							
						
					
					
						commit
						101e9e2616
					
				@ -11,18 +11,8 @@
 | 
			
		||||
 | 
			
		||||
    <include package="plone.indexer" />
 | 
			
		||||
    <include package="plone.app.registry" />
 | 
			
		||||
	
 | 
			
		||||
    <!-- 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 sent 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 package="plone.uuid" />
 | 
			
		||||
    <include package="plone.app.uuid" />
 | 
			
		||||
 | 
			
		||||
    <include file="permissions.zcml" />
 | 
			
		||||
    <include file="notifications.zcml" />
 | 
			
		||||
@ -61,14 +51,9 @@
 | 
			
		||||
        <require attributes="Title Creator getId getText" permission="zope2.View" />
 | 
			
		||||
    </class>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <!-- XXX: Excluding plone.uuid for Plone 3 is only a temporary 'fix'.
 | 
			
		||||
         See the comment above -->
 | 
			
		||||
    <configure zcml:condition="have plone-4">
 | 
			
		||||
    <class class=".comment.Comment">
 | 
			
		||||
        <implements interface="plone.uuid.interfaces.IAttributeUUID" />
 | 
			
		||||
    </class>
 | 
			
		||||
    </configure>
 | 
			
		||||
 | 
			
		||||
    <utility
 | 
			
		||||
        component=".comment.CommentFactory"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user