[Erp5-report] r7317 - /erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 17 13:57:31 CEST 2006


Author: chris
Date: Wed May 17 13:57:29 2006
New Revision: 7317

URL: http://svn.erp5.org?rev=7317&view=rev
Log:
- use 2000 are url max lenght limit before stop using redirect instead of 8000 because it seems that erp5devel is crashing with 3000

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml?rev=7317&r1=7316&r2=7317&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml Wed May 17 13:57:29 2006
@@ -14,7 +14,7 @@
       <dictionary>
         <item>
             <key> <string>Python_magic</string> </key>
-            <value> <string encoding="base64">O/INCg==</string> </value>
+            <value> <string encoding="base64">bfINCg==</string> </value>
         </item>
         <item>
             <key> <string>Script_magic</string> </key>
@@ -156,10 +156,7 @@
   for k, v in kw.items() :\n
     if v is not None :\n
       cleanedup_kw[k] = v\n
-\n
-  # If url is too long, we do not redirecting\n
-  # to avoir crash <christophe at nexedi.com>\n
-  if len(make_query(cleanedup_kw)) > 8119:\n
+  if make_query(cleanedup_kw) > 2000 :\n
     cannot_redirect = 1\n
 \n
   # if we cannot redirect, then call the form directly.\n
@@ -208,7 +205,7 @@
         </item>
         <item>
             <key> <string>_filepath</string> </key>
-            <value> <string>Script (Python):/nexedi/portal_skins/local_erp5/Base_callDialogMethod</string> </value>
+            <value> <string>Script (Python):/erp5/portal_skins/erp5_core/Base_callDialogMethod</string> </value>
         </item>
         <item>
             <key> <string>_params</string> </key>




More information about the Erp5-report mailing list