Commit 491b65a7 authored by Vincent Pelletier's avatar Vincent Pelletier

Update the cache correctly in the case where a cached item is not found at the...

Update the cache correctly in the case where a cached item is not found at the cached place but another candidate is found.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11989 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 611bbfc8
......@@ -100,7 +100,7 @@ def CMFCoreSkinnableSkinnableObjectManager___getattr__(self, name):
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment