[Zope3-checkins] SVN: Zope3/trunk/ Bugfix:

Roger Ineichen roger at projekt01.ch
Sat Dec 3 07:32:48 EST 2005


Log message for revision 40515:
  Bugfix:
  Using getLink('File') will end in a testing failure in our application
  because we use a content type '- File' which produce a link called '- File'.
  Use the more concrete url attribute instead of the text attribute in 
  the getLink method will avoid this. 
  
  See also collector issue at:
  http://www.zope.org/Collectors/Zope3-dev/503 

Changed:
  _U  Zope3/trunk/
  U   Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.txt

-=-

Property changes on: Zope3/trunk
___________________________________________________________________
Name: svn:ignore
   - overrides_ftesting.zcml
principals.zcml
overrides.zcml
zope.conf
Data.fs
Data.fs.*
build
dist
coverage
z3.log
zeo.log
test-db
zdsock
setup.bat
start.bat
test.bat
_trial_temp

   + overrides_ftesting.zcml
principals.zcml
overrides.zcml
zope.conf
Data.fs
Data.fs.*
build
dist
coverage
z3.log
zeo.log
test-db
zdsock
setup.bat
start.bat
test.bat
_trial_temp
access.log


Modified: Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.txt
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.txt	2005-12-03 04:34:49 UTC (rev 40514)
+++ Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.txt	2005-12-03 12:32:48 UTC (rev 40515)
@@ -134,7 +134,8 @@
 they are provided in a aseparate section. To see anything useful, we have to
 add an object to the folder first:
 
-    >>> browser.getLink('File').click()
+    >>> link = 'http://localhost/@@+/action.html?type_name=zope.app.file.File'
+    >>> browser.getLink(url=link).click()
     >>> import cStringIO
     >>> browser.getControl('Data').value = cStringIO.StringIO('content')
     >>> browser.getControl(name='add_input_name').value = 'file.txt'



More information about the Zope3-Checkins mailing list