[Erp5-report] r16053 - in /erp5/trunk/bt5/erp5_ui_test: PathTemplateItem/portal_tests/docum...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 4 19:47:13 CEST 2007


Author: kazuhiko
Date: Tue Sep  4 19:47:12 2007
New Revision: 16053

URL: http://svn.erp5.org?rev=16053&view=rev
Log:
2007-09-04 Kazuhiko
* use absolute_url_path instead of getPortalPath for better virtual host support.

Modified:
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml
    erp5/trunk/bt5/erp5_ui_test/bt/change_log
    erp5/trunk/bt5/erp5_ui_test/bt/revision

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml?rev=16053&r1=16052&r2=16053&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml Tue Sep  4 19:47:12 2007
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.PageTemplates.ZopePageTemplate</string>
-          <string>ZopePageTemplate</string>
-        </tuple>
-        <none/>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -54,6 +51,7 @@
             <key> <string>_text</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
+\n
 <html xmlns:tal="http://xml.zope.org/namespaces/tal"\n
       xmlns:metal="http://xml.zope.org/namespaces/metal">\n
 <head>\n
@@ -82,7 +80,7 @@
 have id "2". This is probably a bit too stupid. -->\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string:${here/portal_url/getPortalPath}/foo_module/2/view"/>\n
+  <td tal:content="string:${here/portal_url/absolute_url_path}/foo_module/2/view"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -103,7 +101,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string:${here/portal_url/getPortalPath}/foo_module/2/1/view"/>\n
+  <td tal:content="string:${here/portal_url/absolute_url_path}/foo_module/2/1/view"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -131,7 +129,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string:${here/portal_url/getPortalPath}/foo_module/3/view"/>\n
+  <td tal:content="string:${here/portal_url/absolute_url_path}/foo_module/3/view"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -153,7 +151,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string:${here/portal_url/getPortalPath}/foo_module/4/view"/>\n
+  <td tal:content="string:${here/portal_url/absolute_url_path}/foo_module/4/view"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -168,8 +166,7 @@
 </tr>\n
 \n
 </body>\n
-</html>\n
-
+</html>
 
 ]]></string> </value>
         </item>

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml?rev=16053&r1=16052&r2=16053&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/page_templates_zuite/testDropDownListActionsNothingSelected.xml Tue Sep  4 19:47:12 2007
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.PageTemplates.ZopePageTemplate</string>
-          <string>ZopePageTemplate</string>
-        </tuple>
-        <none/>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -93,7 +90,7 @@
   </tr>\n
   <tr>\n
     <td>assertLocation</td>\n
-    <td tal:content="string: ${here/portal_url/getPortalPath}/foo_module/1/view">/erp5/foo_module/1/view</td>\n
+    <td tal:content="string: ${here/portal_url/absolute_url_path}/foo_module/1/view">/erp5/foo_module/1/view</td>\n
     <td/>\n
   </tr>\n
   <tr>\n

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml?rev=16053&r1=16052&r2=16053&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testSimpleRelationFieldSaveButton.xml Tue Sep  4 19:47:12 2007
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.PageTemplates.ZopePageTemplate</string>
-          <string>ZopePageTemplate</string>
-        </tuple>
-        <none/>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -134,7 +131,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string: ${here/portal_url/getPortalPath}/portal_categories/foo_category/a/a1/view"/>\n
+  <td tal:content="string: ${here/portal_url/absolute_url_path}/portal_categories/foo_category/a/a1/view"/>\n
   <td/>\n
 </tr>\n
 </tbody></table>\n

Modified: erp5/trunk/bt5/erp5_ui_test/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/change_log?rev=16053&r1=16052&r2=16053&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/change_log Tue Sep  4 19:47:12 2007
@@ -1,3 +1,6 @@
+2007-09-04 Kazuhiko
+* use absolute_url_path instead of getPortalPath for better virtual host support.
+
 2007-02-13 yo
 * Add datetime_field_zuite.
 

Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=16053&r1=16052&r2=16053&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision Tue Sep  4 19:47:12 2007
@@ -1,1 +1,1 @@
-200
+201




More information about the Erp5-report mailing list