Commit da201c32 authored by Vincent Pelletier's avatar Vincent Pelletier

Copy cached dict to avoid tainting the cache.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25464 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1c956639
...@@ -464,7 +464,7 @@ def WorkflowTool_listActions(self, info=None, object=None, src__=False): ...@@ -464,7 +464,7 @@ def WorkflowTool_listActions(self, info=None, object=None, src__=False):
def _getWorklistActionList(): def _getWorklistActionList():
worklist_result_dict = {} worklist_result_dict = {}
sql_catalog = portal_catalog.getSQLCatalog() sql_catalog = portal_catalog.getSQLCatalog()
acceptable_key_dict = sql_catalog.getColumnMap() acceptable_key_dict = sql_catalog.getColumnMap().copy()
for related_key in sql_catalog.getSQLCatalogRelatedKeyList(): for related_key in sql_catalog.getSQLCatalogRelatedKeyList():
related_key = related_key.split('|') related_key = related_key.split('|')
acceptable_key_dict[related_key[0].strip()] = related_key[1].strip() acceptable_key_dict[related_key[0].strip()] = related_key[1].strip()
......
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