Commit cc5f6fbf authored by Lucas Carvalho's avatar Lucas Carvalho

2010-09-30 lucas

* Added message to be logged if during the upgrade of the Local Roles for security groups the Portal Type document does not exists.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38819 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1980a598
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
......@@ -76,6 +73,8 @@ for pt in portal_type_list:\n
portal_type_document = getattr(context.portal_types, pt, None )\n
if portal_type_document is not None:\n
portal_type_document.updateRoleMapping()\n
else:\n
message_list.append("Unable to upgrade security on %s portal type because it is not present on portal." % pt)\n
\n
message_list.append(\n
"Update Local Roles for security groups for: \\n\\t%s" % \\\n
......
2010-09-30 lucas
* Added message to be logged if during the upgrade of the Local Roles for security groups the Portal Type document does not exists.
2010-02-16 nicolas
* Add new properties in Signature in order to trig some actions just before or just after business template update/installation
......
530
\ No newline at end of file
531
\ 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