[Erp5-report] r18096 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 6 21:17:18 CET 2007
Author: jerome
Date: Thu Dec 6 21:17:18 2007
New Revision: 18096
URL: http://svn.erp5.org?rev=18096&view=rev
Log:
prevent "RuntimeError function attributes are not accessible from restricted code" that happens on Zope 2.7
Added:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/template_catalog_datetime_key_list
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml?rev=18096&r1=18095&r2=18096&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.xml Thu Dec 6 21:17:18 2007
@@ -81,7 +81,7 @@
action = parts[-1]\n
action_id = action.split(\'?\')[0]\n
form = getattr(context, action_id, None)\n
- if form is not None and getattr(form, \'pt\', None) != \'form_dialog\':\n
+ if not (hasattr(form, \'pt\') and form.pt == \'form_dialog\'):\n
url = \'%s/Base_viewIntermediatePrintDialog?dialog_action_url=%s\' % (\n
context.absolute_url(), url_quote(\'%s/%s\' % (absolute_url, action)))\n
return url\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=18096&r1=18095&r2=18096&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Dec 6 21:17:18 2007
@@ -1,1 +1,1 @@
-456
+457
Added: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/template_catalog_datetime_key_list
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/template_catalog_datetime_key_list?rev=18096&view=auto
==============================================================================
(empty)
More information about the Erp5-report
mailing list