diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_asSecurityGroupId.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_asSecurityGroupId.xml index d75d5a689d6ed685aca358384f0fd489ca1c864e..0599ce11445a1cca05eccfca97a3e0c638fc6fea 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_asSecurityGroupId.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/ERP5Type_asSecurityGroupId.xml @@ -125,11 +125,9 @@ for base_category in category_order:\n \n # Return a list of users or a single group\n if user_list:\n - #context.log(user_list)\n return user_list\n -context.log(code_list)\n +code_list=[c for c in code_list if c is not None]\n r=\'_\'.join(code_list)\n -#context.log(category_order,r)\n return r\n </string> </value> </item> @@ -209,6 +207,9 @@ return r\n <string>user_name</string> <string>category_code</string> <string>AttributeError</string> + <string>append</string> + <string>$append0</string> + <string>c</string> <string>r</string> </tuple> </value> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index 5e801cee880d1bdf4d33a876b8bb09b3d231da22..2da56739379b4c88eeb8bcda0c2ce6fbd891af9d 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -416 \ No newline at end of file +418 \ No newline at end of file