From 01e8a58067ff362d45e86b6089df9fd13373217c Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Wed, 15 Jul 2009 16:14:01 +0000
Subject: [PATCH] In r28082 a modification has been committed wrongly. - Add a
 comment to explain why this condition has been added

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28083 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/Document.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/product/ERP5/Document/Document.py b/product/ERP5/Document/Document.py
index 93bda4d0b5..494682da29 100644
--- a/product/ERP5/Document/Document.py
+++ b/product/ERP5/Document/Document.py
@@ -133,6 +133,9 @@ class ConversionCacheMixin:
     preference_tool = getToolByName(self, 'portal_preferences')
     cache_factory_name = preference_tool.getPreferredConversionCacheFactory('document_cache_factory')
     cache_factory = cache_tool.getRamCacheRoot().get(cache_factory_name)
+    #XXX This conditional statement should be remove as soon as
+    #Broadcasting will be enable among all zeo clients.
+    #Interaction which update portal_caches should interact with all nodes.
     if cache_factory is None and getattr(cache_tool, cache_factory_name, None) is not None:
       #ram_cache_root is not up to date for current node
       cache_tool.updateCache()
-- 
2.30.9