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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 5 10:35:21 CEST 2007


Author: kazuhiko
Date: Wed Sep  5 10:35:20 2007
New Revision: 16061

URL: http://svn.erp5.org?rev=16061&view=rev
Log:
2007-09-04 Kazuhiko
* use portal_url.getPortalObject().absolute_url_path() instead of portal_url.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=16061&r1=16060&r2=16061&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 Wed Sep  5 10:35:20 2007
@@ -51,7 +51,6 @@
             <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
@@ -80,7 +79,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/absolute_url_path}/foo_module/2/view"/>\n
+  <td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/2/view"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -101,7 +100,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string:${here/portal_url/absolute_url_path}/foo_module/2/1/view"/>\n
+  <td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/2/1/view"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -129,7 +128,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string:${here/portal_url/absolute_url_path}/foo_module/3/view"/>\n
+  <td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/3/view"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -151,7 +150,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string:${here/portal_url/absolute_url_path}/foo_module/4/view"/>\n
+  <td tal:content="string:${here/portal_url/getPortalObject/absolute_url_path}/foo_module/4/view"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n

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=16061&r1=16060&r2=16061&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 Wed Sep  5 10:35:20 2007
@@ -90,7 +90,7 @@
   </tr>\n
   <tr>\n
     <td>assertLocation</td>\n
-    <td tal:content="string: ${here/portal_url/absolute_url_path}/foo_module/1/view">/erp5/foo_module/1/view</td>\n
+    <td tal:content="string: ${here/portal_url/getPortalObject/absolute_url_path}/foo_module/1/view">/erp5/foo_module/1/view</td>\n
     <td/>\n
   </tr>\n
   <tr>\n
@@ -101,6 +101,7 @@
 </tal:block>\n
 </body>\n
 </html>\n
+\n
 
 
 ]]></string> </value>

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=16061&r1=16060&r2=16061&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 Wed Sep  5 10:35:20 2007
@@ -131,7 +131,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="string: ${here/portal_url/absolute_url_path}/portal_categories/foo_category/a/a1/view"/>\n
+  <td tal:content="string: ${here/portal_url/getPortalObject/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=16061&r1=16060&r2=16061&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/change_log Wed Sep  5 10:35:20 2007
@@ -1,5 +1,5 @@
 2007-09-04 Kazuhiko
-* use absolute_url_path instead of getPortalPath for better virtual host support.
+* use portal_url.getPortalObject().absolute_url_path() instead of portal_url.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=16061&r1=16060&r2=16061&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision Wed Sep  5 10:35:20 2007
@@ -1,1 +1,1 @@
-201
+202




More information about the Erp5-report mailing list