Commit 8106342d authored by Nicolas Delaby's avatar Nicolas Delaby

Check also that property we propose to clean up exists on document.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33275 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6045358b
......@@ -66,7 +66,8 @@ def filterPropertyMapList(property_map):\n
\'id_generator\', \'last_id\',)\n
return property_map[\'type\'] in (\'string\', \'data\', \'text\',) and \\\n
property_map[\'id\'] not in restricted_property_list and \\\n
document_to_inspect.getProperty(property_map[\'id\'])\n
document_to_inspect.getProperty(property_map[\'id\']) and \\\n
document_to_inspect.hasProperty(property_map[\'id\'])\n
\n
property_map_list = filter(filterPropertyMapList, property_map_list)\n
property_map_list = document_to_inspect.Base_updatePropertyMapListWithFieldLabel(property_map_list)\n
......
15
\ No newline at end of file
18
\ No newline at end of file
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