Bugfix : la connexion Solr peut se volatiliser plus vite que le hook de transaction…
[Plinn.git] / overrides.zcml
index 29b6177..bf37e72 100644 (file)
@@ -4,4 +4,15 @@
         provides="Products.PageTemplates.interfaces.IUnicodeEncodingConflictResolver"
         component="Products.PageTemplates.unicodeconflictresolver.ReplacingUnicodeEncodingConflictResolver"
         />
+    <adapter
+        for="AccessControl.interfaces.IUser
+             Products.CMFCore.interfaces.IMemberDataTool"
+        provides="Products.CMFCore.interfaces.IMember"
+        factory="Products.Plinn.MemberDataTool.MemberAdapter"
+        />
+    <adapter
+        for="Products.CMFCore.interfaces.ICatalogAware
+             Products.CMFCore.interfaces.ICatalogTool"
+        provides="Products.CMFCore.interfaces.IIndexableObject"
+        factory=".catalog_adapters.PlinnIndexableObjectWrapper" />
 </configure>