[Product-Developers] bug in collective.dancing, override zcml of plone.z3cform.

Jean-Michel FRANCOIS jeanmichel.francois at makina-corpus.com
Tue Sep 15 13:04:23 UTC 2009


Hi,

I m using collective.dancing on a project. It seems the released version 
is bugged by this zcml directive:

  !-- Leave the includeOverrides to plone.z3cform itself and it'll fail: --
  includeOverrides package="plone.z3cform" file="overrides.zcml"

If I removed it, zope can start. Else zope failed with this trace:

ConfigurationConflictError: Conflicting configuration 
actions                                                                                                                                                                                

  For: ('adapter', (<InterfaceClass zope.schema.interfaces.IBytes>, 
<InterfaceClass z3c.form.interfaces.IFileWidget>), <InterfaceClass 
z3c.form.interfaces.IDataConverter>, 
'')                                                             
    File 
"/home/toutpt/.buildout/eggs/z3c.form-1.9.0-py2.4.egg/z3c/form/file.zcml", 
line 
14.2-16.8                                                                                                                                           

        
<adapter                                                                                                                                                                                                                             

            
factory=".converter.FileUploadDataConverter"                                                                                                                                                                                     

            
/>                                                                                                                                                                                                                               

    File 
"/home/toutpt/.buildout/eggs/plone.z3cform-0.5.5-py2.4.egg/plone/z3cform/overrides.zcml", 
line 
3.2-5.8                                                                                                                              

        
<adapter                                                                                                                                                                                                                             

            
factory=".converter.FileUploadDataConverter"                                                                                                                                                                                     

            />    

For me plone.z3cform do it's job. And if not you can add the overide in 
buildout's instance part but not directly inside the zcml of an egg. 
What do you think about this ?

-- 
Cordialement,
Jean-Michel FRANCOIS
Makina-Corpus






More information about the Product-Developers mailing list