[Erp5-report] r45397 yusei - /erp5/trunk/products/ERP5Form/Form.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 14 08:06:45 CEST 2011


Author: yusei
Date: Thu Apr 14 08:06:45 2011
New Revision: 45397

URL: http://svn.erp5.org?rev=45397&view=rev
Log:
Revert r45154. This fix introduces another problem. If variable
'REQUEST' exists, then variable 'cell' becomes request value and
breaks matrixbox. I must check what must be done when cell is None.
when cell is explicitly specified as None, is it ok to override,
I do not have answer yet.

Modified:
    erp5/trunk/products/ERP5Form/Form.py

Modified: erp5/trunk/products/ERP5Form/Form.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/Form.py?rev=45397&r1=45396&r2=45397&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/Form.py [utf8] (original)
+++ erp5/trunk/products/ERP5Form/Form.py [utf8] Thu Apr 14 08:06:45 2011
@@ -162,7 +162,6 @@ class TALESValue(StaticValue):
 
     kw['form'] = form
     kw['request'] = REQUEST
-    kw['REQUEST'] = REQUEST # For compatibility to relation string field. See MultiRelationStringField.get_value.
     kw['here'] = obj
     kw['context'] = obj
     kw['modules'] = SecureModuleImporter



More information about the Erp5-report mailing list