[Erp5-report] r11989 - /erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 10 11:36:50 CET 2007


Author: vincent
Date: Wed Jan 10 11:36:49 2007
New Revision: 11989

URL: http://svn.erp5.org?rev=11989&view=rev
Log:
Update the cache correctly in the case where a cached item is not found at the cached place but another candidate is found.

Modified:
    erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py

Modified: erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py?rev=11989&r1=11988&r2=11989&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py (original)
+++ erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py Wed Jan 10 11:36:49 2007
@@ -100,7 +100,7 @@
                 if candidate_folder is not None:
                   object = getattr(candidate_folder, name, None)
                   if object is not None:
-                    skin_selection_cache[name] = candidate_folder_id
+                    skin_selection_mapping[skin_selection_name][name] = candidate_folder_id
                     resolve[name] = object.aq_base
                     return resolve[name]
                 else:




More information about the Erp5-report mailing list