[Erp5-report] r10062 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateIte...

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Sep 17 21:14:18 CEST 2006


Author: vincent
Date: Sun Sep 17 21:14:14 2006
New Revision: 10062

URL: http://svn.erp5.org?rev=10062&view=rev
Log:
The revived version of create module script was utterly bogus with basic python errors.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml?rev=10062&r1=10061&r2=10062&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ERP5Site_createModule.xml Sun Sep 17 21:14:14 2006
@@ -70,6 +70,8 @@
             <key> <string>_body</string> </key>
             <value> <string>from Products.Formulator.Errors import ValidationError, FormValidationError\n
 \n
+N_ = context.getPortalObject().Base_translateString\n
+\n
 request=context.REQUEST\n
 \n
 # TODO\n
@@ -229,7 +231,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>module_portal_type, portal_skins_folder, object_portal_type, object_title, module_id, module_title, **kw</string> </value>
+            <value> <string>cancel_url, module_portal_type, portal_skins_folder, object_portal_type, object_title, module_id, module_title, **kw</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -249,12 +251,13 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>6</int> </value>
+                        <value> <int>7</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
+                            <string>cancel_url</string>
                             <string>module_portal_type</string>
                             <string>portal_skins_folder</string>
                             <string>object_portal_type</string>
@@ -267,6 +270,7 @@
                             <string>FormValidationError</string>
                             <string>_getattr_</string>
                             <string>context</string>
+                            <string>N_</string>
                             <string>request</string>
                             <string>portal</string>
                             <string>portal_types</string>
@@ -292,8 +296,6 @@
                             <string>object_portal_type_value</string>
                             <string>module_object</string>
                             <string>_apply_</string>
-                            <string>cancel_url</string>
-                            <string>N_</string>
                           </tuple>
                         </value>
                     </item>




More information about the Erp5-report mailing list