[Testbot] FAILED (failures=2, errors=1) : Plone-3.1 Zope-2.10 Python-2.4.6
Plone Products Tests
plone-tests at epy.co.at
Thu Oct 29 02:48:55 UTC 2009
Plone Products Tests : FAILED (failures=2, errors=1)
Plone-3.1 Zope-2.10 Python-2.4.6
Running /usr/local/python2.4/bin/python ./bin/instance test -q --package Products.CMFPlone --package Products.CMFDynamicViewFTI --package Products.CMFFormController --package Products.CMFQuickInstallerTool --package Products.ExtendedPathIndex --package Products.PasswordResetTool --package Products.PloneLanguageTool --package Products.ResourceRegistries --package Products.statusmessages
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile CMFDynamicViewFTI:CMFDVFTI_sampletypes taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/GenericSetup/registry.py:744: DeprecationWarning: Version for profile Products.CMFQuickInstallerTool:test taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml.
DeprecationWarning)
Running unit tests:
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/xmlconfig.py:323: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
__import__(arguments[0])
Ran 309 tests with 0 failures and 0 errors in 0.735 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
Set up Products.CMFTestCase.layer.ZCML in 2.064 seconds.
Set up Products.CMFTestCase.layer.CMFSite in 0.227 seconds.
Ran 61 tests with 0 failures and 0 errors in 0.953 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
Tear down Products.CMFTestCase.layer.CMFSite in 0.039 seconds.
Tear down Products.CMFTestCase.layer.ZCML in 0.002 seconds.
Set up Products.PloneTestCase.layer.ZCML in 1.243 seconds.
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Ran 12 tests with 0 failures and 0 errors in 0.016 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
Set up Products.PloneTestCase.layer.PloneSite in 3.725 seconds.
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_beforeDelete is discouraged. You should use event subscribers instead.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/MembershipTool.py:211: DeprecationWarning: getUserIds is deprecated. Use the PAS methods instead
return self.__getPUS().getUserIds()
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/migrations/migration_util.py:90: DeprecationWarning: setupCurrentSkin should be called with 'REQUEST' as argument. The BBB code will be removed in CMF 2.3.
portal.setupCurrentSkin()
Error in test test_folder_contents (Products.CMFPlone.tests.testPloneFolder.TestFolderListing)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/testPloneFolder.py", line 189, in test_folder_contents
self.failUnless(view())
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/metaconfigure.py", line 417, in __call__
return self.index(self, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplateFile.py", line 129, in _exec
return self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplate.py", line 98, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 534, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 223, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/providerexpression.py", line 37, in __call__
return provider.render()
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/src/plone.app.viewletmanager/plone/app/viewletmanager/manager.py", line 154, in render
return BaseOrderedViewletManager.render(self)
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/src/plone.app.viewletmanager/plone/app/viewletmanager/manager.py", line 83, in render
return u'\n'.join([viewlet.render() for viewlet in self.viewlets])
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/src/plone.app.layout/plone/app/layout/viewlets/common.py", line 44, in render
return self.index()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplateFile.py", line 129, in _exec
return self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplate.py", line 98, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 855, in do_condition
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 534, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 223, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/Five/browser/providerexpression.py", line 37, in __call__
return provider.render()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplateFile.py", line 129, in _exec
return self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplate.py", line 98, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 163, in _eval
return render(ob, econtext.vars)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 125, in render
ob = ob()
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/src/plone.app.contentmenu/plone/app/contentmenu/view.py", line 42, in menu
items = menu.getMenuItems(self.context, self.request)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/app/publisher/browser/menu.py", line 66, in getMenuItems
result = [
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/app/publisher/browser/menu.py", line 176, in getMenu
return menu.getMenuItems(object, request)
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/src/plone.app.contentmenu/plone/app/contentmenu/menu.py", line 89, in getMenuItems
editActions = context_state.actions('object_buttons')
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/src/plone.memoize/plone/memoize/view.py", line 55, in memogetter
value = cache[key] = func(*args, **kwargs)
TypeError: actions() takes exactly 1 argument (2 given)
Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt
Failed doctest test for AddMoveAndDeleteDocument.txt
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 31, in AddMoveAndDeleteDocument.txt
Failed example:
browser.open('http://nohost/plone/Members/test_user_1_')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[6]>", line 1, in ?
browser.open('http://nohost/plone/Members/test_user_1_')
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 224, in open
self.mech_browser.open(url, data)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
raise error
HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 32, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getLink('Add new').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[7]>", line 1, in ?
browser.getLink('Add new').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 33, in AddMoveAndDeleteDocument.txt
Failed example:
'Add new item' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 35, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Page').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[9]>", line 1, in ?
browser.getControl('Page').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Page'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 36, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Add').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[10]>", line 1, in ?
browser.getControl('Add').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Add'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 38, in AddMoveAndDeleteDocument.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/Members/test_user_1_/portal_factory/Document/.../edit'
Got:
'http://nohost/plone/Members/test_user_1_'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 44, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Body Text').value = 'About test_user_1_'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[12]>", line 1, in ?
browser.getControl('Body Text').value = 'About test_user_1_'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Body Text'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 45, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[13]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 46, in AddMoveAndDeleteDocument.txt
Failed example:
'Title is required, please correct.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 51, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Title').value = 'My Page'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[15]>", line 1, in ?
browser.getControl('Title').value = 'My Page'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 52, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[16]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 53, in AddMoveAndDeleteDocument.txt
Failed example:
'Changes saved.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 55, in AddMoveAndDeleteDocument.txt
Failed example:
'My Page' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 60, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getLink('Edit').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[19]>", line 1, in ?
browser.getLink('Edit').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 61, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Title').value = 'Ons Bier'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[20]>", line 1, in ?
browser.getControl('Title').value = 'Ons Bier'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 62, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[21]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 63, in AddMoveAndDeleteDocument.txt
Failed example:
'Ons Bier' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 71, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getLink('Edit').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[23]>", line 1, in ?
browser.getLink('Edit').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 72, in AddMoveAndDeleteDocument.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/Members/test_user_1_/my-page/edit'
Got:
'http://nohost/plone/Members/test_user_1_'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 77, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl(name='language').displayValue
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[25]>", line 1, in ?
browser.getControl(name='language').displayValue
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name 'language'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 87, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl(name='language').value = ['de']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[27]>", line 1, in ?
browser.getControl(name='language').value = ['de']
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name 'language'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 88, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl(name='language').displayValue
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[28]>", line 1, in ?
browser.getControl(name='language').displayValue
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name 'language'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 91, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[29]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 92, in AddMoveAndDeleteDocument.txt
Failed example:
'Changes saved.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 97, in AddMoveAndDeleteDocument.txt
Failed example:
browser.headers.dict['content-language']
Expected:
'de'
Got:
'en'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 106, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getLink('Actions').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[32]>", line 1, in ?
browser.getLink('Actions').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 110, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Ons Bier').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[33]>", line 1, in ?
browser.getControl('Ons Bier').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Ons Bier'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 111, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Cut').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[34]>", line 1, in ?
browser.getControl('Cut').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Cut'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 115, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getLink('Add new').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[35]>", line 1, in ?
browser.getLink('Add new').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 116, in AddMoveAndDeleteDocument.txt
Failed example:
'Add new item' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 118, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Folder').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[37]>", line 1, in ?
browser.getControl('Folder').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Folder'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 119, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Add').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[38]>", line 1, in ?
browser.getControl('Add').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Add'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 122, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Title').value = 'My Folder'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[39]>", line 1, in ?
browser.getControl('Title').value = 'My Folder'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 123, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[40]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 124, in AddMoveAndDeleteDocument.txt
Failed example:
'Changes saved.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 130, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getLink('Actions').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[42]>", line 1, in ?
browser.getLink('Actions').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 131, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Paste').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[43]>", line 1, in ?
browser.getControl('Paste').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Paste'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 132, in AddMoveAndDeleteDocument.txt
Failed example:
'Item(s) pasted.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 134, in AddMoveAndDeleteDocument.txt
Failed example:
'Ons Bier' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 143, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getLink('Actions').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[46]>", line 1, in ?
browser.getLink('Actions').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 144, in AddMoveAndDeleteDocument.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/Members/test_user_1_/my-folder/folder_contents'
Got:
'http://nohost/plone/Members/test_user_1_'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 150, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Ons Bier').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[48]>", line 1, in ?
browser.getControl('Ons Bier').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Ons Bier'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 151, in AddMoveAndDeleteDocument.txt
Failed example:
browser.getControl('Delete').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest AddMoveAndDeleteDocument.txt[49]>", line 1, in ?
browser.getControl('Delete').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Delete'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/AddMoveAndDeleteDocument.txt", line 152, in AddMoveAndDeleteDocument.txt
Failed example:
'Item(s) deleted.' in browser.contents
Expected:
True
Got:
False
Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt
Failed doctest test for csrf.txt
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 81, in csrf.txt
Failed example:
browser.getLink('some important news!').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[18]>", line 1, in ?
browser.getLink('some important news!').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 397, in click
self.browser.mech_browser.follow_link(self.mech_link)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 448, in follow_link
return self.open(self.click_link(link, **kwds))
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
raise error
HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 82, in csrf.txt
Failed example:
browser.getControl('Click me!').click()
Expected:
Traceback (most recent call last):
...
HTTPError: HTTP Error 403: Forbidden
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[19]>", line 1, in ?
browser.getControl('Click me!').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Click me!'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 275, in csrf.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[116]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 586, in click
self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 375, in _clickSubmit
self.mech_browser.open(form.click(
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
raise error
HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 279, in csrf.txt
Failed example:
browser.getLink('Rename').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[118]>", line 1, in ?
browser.getLink('Rename').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 280, in csrf.txt
Failed example:
browser.getControl(name='_authenticator').value = 'invalid!'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[119]>", line 1, in ?
browser.getControl(name='_authenticator').value = 'invalid!'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name '_authenticator'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 281, in csrf.txt
Failed example:
browser.getControl('New Short Name').value = 'folder'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[120]>", line 1, in ?
browser.getControl('New Short Name').value = 'folder'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'New Short Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 282, in csrf.txt
Failed example:
browser.getControl('Rename All').click()
Expected:
Traceback (most recent call last):
...
HTTPError: HTTP Error 403: Forbidden
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[121]>", line 1, in ?
browser.getControl('Rename All').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Rename All'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 288, in csrf.txt
Failed example:
browser.getControl('New Short Name').value = 'folder'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[123]>", line 1, in ?
browser.getControl('New Short Name').value = 'folder'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'New Short Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 289, in csrf.txt
Failed example:
browser.getControl('Rename All').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[124]>", line 1, in ?
browser.getControl('Rename All').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Rename All'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 290, in csrf.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/folder/'
Got:
'http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/edit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 292, in csrf.txt
Failed example:
browser.contents
Expected:
'...Info...Renamed...a-folder...to...folder...'
Got:
'\n\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n \n \n\n\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"\n lang="en">\n\n \n \n \n \n \n \n\n \n\n <head>\n\n <meta http-equiv="Content-Type"\n content="text/html;charset=utf-8" />\n\n \n <base href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/" /><!--[if lt IE 7]></base><![endif]-->\n \n\n <meta name="generator" content="Plone - http://plone.org" />\n\n <link rel="kss-base-url" href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281" />\n\n \n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/jquery-cachekey1584.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/dropdown-cachekey3648.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/sarissa-cachekey7248.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/resourcebase2-dom-fp-cachekey6366.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/resourcekukit-cachekey6581.js">\n </script>\n \n \n \n\n\n \n \n \n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Plone%20Default/member-cachekey2556.css);</style>\n \n \n \n\n \n \n \n <style type="text/css">@import url(http://nohost/plone/portal_css/Plone%20Default/base-cachekey2855.css);</style>\n \n \n \n\n \n \n \n <style type="text/css" media="all">@import url(http://nohost/plone/portal_css/Plone%20Default/ploneCustom-cachekey8382.css);</style>\n \n \n \n\n\n \n <link rel="kinetic-stylesheet" type="text/css"\n href="http://nohost/plone/portal_kss/Plone%20Default/at-cachekey6483.kss" />\n\n\n<title>[\xc2\xb7\xc2\xb7\xc2\xb7] — Plone site</title>\n\n\n <!-- Internet Explorer CSS Fixes -->\n <!--[if IE]>\n <style type="text/css" media="all">@import url(http://nohost/plone/IEFixes.css);</style>\n <![endif]-->\n\n \n <link rel="author"\n href="http://nohost/plone/author/test_user_1_"\n title="Author information" />\n\n\n\n <link rel="shortcut icon" type="image/x-icon"\n href="http://nohost/plone/favicon.ico" />\n\n\n\n <link rel="home" href="http://nohost/plone"\n title="Front page" />\n\n <link rel="contents" href="http://nohost/plone/sitemap"\n title="Site Map" />\n\n\n\n\n\n\n <link rel="search"\n href="http://nohost/plone/search_form"\n title="Search this site" />\n\n\n\n <!-- Disable IE6 image toolbar -->\n <meta http-equiv="imagetoolbar" content="no" />\n \n \n \n\n \n \n\n \n \n \n <style type="text/css" media="all"><!-- @import url(http://nohost/plone/content_types.css); --></style>\n \n \n <style type="text/css" media="all"><!-- @import url(http://nohost/plone/jscalendar/calendar-system.css); --></style>\n \n \n \n\n \n \n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/widgets/js/textcount.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/referencebrowser.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/jscalendar/calendar_stripped.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/jscalendar/calendar-en.js">\n </script>\n \n \n \n\n </head>\n\n <body class="section-portal_factory template-atct_edit"\n dir="ltr">\n <div id="visual-portal-wrapper">\n\n <div id="portal-top">\n <div id="portal-header">\n<p class="hiddenStructure">\n <a accesskey="2"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/edit#documentContent">Skip to content.</a> |\n\n <a accesskey="6"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/edit#portlet-navigation-tree">Skip to navigation</a>\n</p>\n\n<ul id="portal-siteactions">\n\n <li id="siteaction-sitemap"><a\n href="http://nohost/plone/sitemap" accesskey="3"\n title="Site Map">Site Map</a></li>\n <li id="siteaction-accessibility"><a\n href="http://nohost/plone/accessibility-info"\n accesskey="0" title="Accessibility">Accessibility</a></li>\n <li id="siteaction-contact"><a\n href="http://nohost/plone/contact-info" accesskey="9"\n title="Contact">Contact</a></li>\n <li id="siteaction-plone_setup"><a\n href="http://nohost/plone/plone_control_panel"\n accesskey="" title="Site Setup">Site Setup</a></li>\n\n</ul>\n\n<div id="portal-searchbox">\n <form name="searchform"\n action="http://nohost/plone/search">\n\n <label for="searchGadget" class="hiddenStructure">Search Site</label>\n\n <div class="LSBox">\n <input name="SearchableText" type="text" size="18"\n title="Search Site" accesskey="4"\n class="inputLabel" id="searchGadget" />\n\n <input class="searchButton" type="submit"\n value="Search" />\n \n <div class="searchSection">\n <input id="searchbox_currentfolder_only"\n class="noborder" type="checkbox"\n name="path"\n value="/plone/portal_factory/Folder/folder.2009-10-29.3097495281" />\n <label for="searchbox_currentfolder_only"\n style="cursor: pointer">\n only in current section\n </label>\n </div>\n\n <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div>\n </div>\n </form>\n\n <div id="portal-advanced-search" class="hiddenStructure">\n <a href="http://nohost/plone/search_form"\n accesskey="5">\n Advanced Search…\n </a>\n </div>\n\n</div>\n\n<a id="portal-logo" accesskey="1" href="http://nohost/plone">\n <img src="http://nohost/plone/logo.jpg" alt="" title="Plone" height="57" width="252" /></a>\n\n\n <h5 class="hiddenStructure">Sections</h5>\n\n <ul id="portal-globalnav">\n <li id="portaltab-index_html" class="selected"><a\n href="http://nohost/plone" title="">Home</a></li>\n <li id="portaltab-Members" class="plain"><a\n href="http://nohost/plone/Members"\n title="Container for users\' home directories">Users</a></li>\n <li id="portaltab-news" class="plain"><a\n href="http://nohost/plone/news" title="Site News">News</a></li>\n <li id="portaltab-events" class="plain"><a\n href="http://nohost/plone/events" title="Site Events">Events</a></li>\n </ul>\n\n</div>\n\n<div id="portal-personaltools-wrapper">\n\n<h5 class="hiddenStructure">Personal tools</h5>\n\n<ul id="portal-personaltools" class="visualInline">\n \n <li><a id="user-name"\n href="http://nohost/plone/dashboard"><img src="http://nohost/plone/user.gif" alt="" title="User" height="16" width="16" />\n <span class="visualCaseSensitive">John Doe</span></a></li>\n \n\n \n <li>\n <a href="http://nohost/plone/logout">Log out</a>\n </li>\n \n\n</ul>\n</div>\n\n\n \n\n\n<div id="portal-breadcrumbs">\n\n <span id="breadcrumbs-you-are-here">You\nare here:</span>\n <a href="http://nohost/plone">Home</a>\n <span class="breadcrumbSeparator">\n →\n \n </span>\n <span dir="ltr">\n \n \n \n <span>[\xc2\xb7\xc2\xb7\xc2\xb7]</span>\n \n </span>\n\n</div>\n\n </div>\n\n <div class="visualClear" id="clear-space-before-wrapper-table"><!-- --></div>\n\n <table id="portal-columns">\n <tbody>\n <tr>\n \n \n \n\n \n <td id="portal-column-content">\n\n \n <div class="">\n\n \n\n\n <div id="region-content" class="documentContent">\n\n <span id="contentTopLeft"></span>\n <span id="contentTopRight"></span>\n \n <a name="documentContent"></a>\n\n \n\n <dl class="portalMessage info" id="kssPortalMessage" style="display:none">\n <dt>Info</dt>\n <dd></dd>\n </dl>\n\n\n \n <div id="viewlet-above-content"><div id="plone-lock-status">\n \n</div>\n</div>\n\n \n \n \n \n \n \n \n <div>\n \n <h1 class="documentFirstHeading">\n Add\n <span> Folder </span>\n </h1>\n \n\n\n\n \n\n \n \n\n </div>\n \n \n <div>\n \n <p class="discreet">A folder which can contain other items.</p>\n \n </div>\n \n \n <div>\n <form name="edit_form" method="post"\n enctype="multipart/form-data"\n class="enableUnloadProtection enableAutoFocus enableFormTabbing enableUnlockProtection"\n action="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/atct_edit"\n id="folder-base-edit">\n \n \n \n\n \n \n \n \n <fieldset id="fieldset-default">\n <legend id="fieldsetlegend-default">Default</legend>\n \n \n \n \n \n <input type="hidden" name="id"\n value="folder.2009-10-29.3097495281" />\n \n \n \n \n \n \n \n \n <div class="field ArchetypesStringWidget kssattr-atfieldname-title"\n id="archetypes-fieldname-title">\n <span></span>\n <label class="formQuestion" for="title">Title</label>\n <span class="fieldRequired" title="Required">\n (Required)\n </span>\n <div class="formHelp" id="title_help"></div>\n \n <div class="fieldErrorBox"></div>\n <input type="text" name="title"\n class="blurrable firstToFocus" id="title"\n value="" size="30" maxlength="255" />\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesTextAreaWidget kssattr-atfieldname-description"\n id="archetypes-fieldname-description">\n <span></span>\n <label class="formQuestion" for="description">Description</label>\n \n <div class="formHelp" id="description_help">A short summary of the content.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n\n <textarea class="blurrable firstToFocus" rows="5"\n name="description" cols="40"\n id="description"></textarea>\n\n \n\n \n\n \n \n \n \n\n \n \n <input type="hidden"\n name="description_text_format"\n value="text/plain" />\n \n \n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-categorization">\n <legend id="fieldsetlegend-categorization">Categorization</legend>\n \n \n \n \n <div class="field ArchetypesKeywordWidget kssattr-atfieldname-subject"\n id="archetypes-fieldname-subject">\n <span></span>\n <label class="formQuestion" for="subject">Categories</label>\n \n <div class="formHelp" id="subject_help">Also known as keywords, tags or labels, these help you categorize your content.</div>\n \n <div class="fieldErrorBox"></div>\n \n\n \n <div style="width: 45%; float: right;">\n <span>New categories</span>\n <br />\n <textarea id="subject_keywords"\n name="subject_keywords:lines" rows="11"\n cols="15" wrap="off"></textarea>\n\n </div>\n \n\n <div style="width: 45%">\n <span>\n Existing categories\n </span>\n\n <br />\n\n <select id="subject_existing_keywords"\n name="subject_existing_keywords:list"\n size="14" multiple="multiple">\n </select>\n\n <input type="hidden" value=""\n name="subject_existing_keywords:default:list" />\n\n\n </div>\n\n <div class="visualClear"><!-- --></div>\n\n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesStringWidget kssattr-atfieldname-location"\n id="archetypes-fieldname-location">\n <span></span>\n <label class="formQuestion" for="location">Location</label>\n \n <div class="formHelp" id="location_help">The geographical location associated with the item, if applicable.</div>\n \n <div class="fieldErrorBox"></div>\n <input type="text" name="location"\n class="blurrable firstToFocus"\n id="location" value="" size="30"\n maxlength="255" />\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesLanguageWidget kssattr-atfieldname-language"\n id="archetypes-fieldname-language">\n <span></span>\n <label class="formQuestion" for="language">Language</label>\n \n <div class="formHelp" id="language_help"></div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n <!-- Pulldown when longer -->\n <select name="language" id="language">\n <option value="">Language neutral (site default)</option>\n <option value="ab">Abkhazian</option>\n <option value="aa">Afar</option>\n <option value="af">Afrikaans</option>\n <option value="sq">Albanian</option>\n <option value="am">Amharic</option>\n <option value="ar">Arabic</option>\n <option value="hy">Armenian</option>\n <option value="as">Assamese</option>\n <option value="ay">Aymara</option>\n <option value="az">Azerbaijani</option>\n <option value="ba">Bashkir</option>\n <option value="eu">Basque</option>\n <option value="be">Belarussian</option>\n <option value="bn">Bengali</option>\n <option value="bh">Bihari</option>\n <option value="bi">Bislama</option>\n <option value="bs">Bosnian</option>\n <option value="br">Breton</option>\n <option value="bg">Bulgarian</option>\n <option value="my">Burmese</option>\n <option value="km">Cambodian/Khmer</option>\n <option value="ca">Catalan</option>\n <option value="zh">Chinese</option>\n <option value="kw">Cornish</option>\n <option value="co">Corsican</option>\n <option value="hr">Croatian</option>\n <option value="cs">Czech</option>\n <option value="da">Danish</option>\n <option value="nl">Dutch</option>\n <option value="en">English</option>\n <option value="eo">Esperanto</option>\n <option value="et">Estonian</option>\n <option value="fo">Faroese</option>\n <option value="fj">Fiji</option>\n <option value="fi">Finnish</option>\n <option value="fr">French</option>\n <option value="fy">Frisian</option>\n <option value="gl">Galician</option>\n <option value="ka">Georgian</option>\n <option value="de">German</option>\n <option value="el">Greek</option>\n <option value="kl">Greenlandic</option>\n <option value="gn">Guarani</option>\n <option value="gu">Gujarati</option>\n <option value="ha">Hausa</option>\n <option value="he">Hebrew</option>\n <option value="hi">Hindi</option>\n <option value="hu">Hungarian</option>\n <option value="is">Icelandic</option>\n <option value="dz">Indian Bhutani</option>\n <option value="id">Indonesian</option>\n <option value="ia">Interlingua</option>\n <option value="ie">Interlingue</option>\n <option value="iu">Inuktitut</option>\n <option value="ik">Inupiak</option>\n <option value="ga">Irish Gaelic</option>\n <option value="it">Italian</option>\n <option value="ja">Japanese</option>\n <option value="jw">Javanese</option>\n <option value="kn">Kannada</option>\n <option value="ks">Kashmiri</option>\n <option value="kk">Kazakh</option>\n <option value="ky">Kirghiz</option>\n <option value="rn">Kirundi</option>\n <option value="rw">Kiyarwanda</option>\n <option value="ko">Korean</option>\n <option value="ku">Kurdish</option>\n <option value="lo">Laotian</option>\n <option value="la">Latin</option>\n <option value="lv">Latvian</option>\n <option value="li">Limburgish</option>\n <option value="ln">Lingala</option>\n <option value="lt">Lithuanian</option>\n <option value="lb">Luxemburgish</option>\n <option value="mk">Macedonian</option>\n <option value="mg">Madagascarian</option>\n <option value="ms">Malay</option>\n <option value="ml">Malayalam</option>\n <option value="mt">Maltese</option>\n <option value="gv">Manx Gaelic</option>\n <option value="mi">Maori</option>\n <option value="mr">Marathi</option>\n <option value="mo">Moldavian</option>\n <option value="mn">Mongolian</option>\n <option value="me">Montenegrin</option>\n <option value="na">Nauruan</option>\n <option value="ne">Nepali</option>\n <option value="se">Northern S\xc3\xa1mi</option>\n <option value="no">Norwegian</option>\n <option value="nn">Nynorsk</option>\n <option value="oc">Occitan</option>\n <option value="or">Oriya</option>\n <option value="om">Oromo</option>\n <option value="ps">Pashto</option>\n <option value="fa">Persian</option>\n <option value="pl">Polish</option>\n <option value="pt">Portuguese</option>\n <option value="pa">Punjabi</option>\n <option value="qu">Quechua</option>\n <option value="rm">Rhaeto-Romance</option>\n <option value="ro">Romanian</option>\n <option value="ru">Russian</option>\n <option value="sm">Samoan</option>\n <option value="sg">Sangho</option>\n <option value="sa">Sanskrit</option>\n <option value="gd">Scottish Gaelic</option>\n <option value="sr">Serbian</option>\n <option value="sh">Serbo-Croatian</option>\n <option value="st">Sesotho</option>\n <option value="tn">Setswana</option>\n <option value="sn">Shona</option>\n <option value="sd">Sindhi</option>\n <option value="si">Singhalese</option>\n <option value="ss">Siswati</option>\n <option value="sk">Slovak</option>\n <option value="sl">Slovenian</option>\n <option value="so">Somali</option>\n <option value="es">Spanish</option>\n <option value="su">Sudanese</option>\n <option value="sw">Swahili</option>\n <option value="sv">Swedish</option>\n <option value="tg">Tadjik</option>\n <option value="tl">Tagalog</option>\n <option value="ta">Tamil</option>\n <option value="tt">Tatar</option>\n <option value="te">Telugu</option>\n <option value="th">Thai</option>\n <option value="bo">Tibetan</option>\n <option value="ti">Tigrinya</option>\n <option value="to">Tonga</option>\n <option value="ts">Tsonga</option>\n <option value="tr">Turkish</option>\n <option value="tk">Turkmen</option>\n <option value="tw">Twi</option>\n <option value="ug">Uigur</option>\n <option value="uk">Ukrainian</option>\n <option value="ur">Urdu</option>\n <option value="uz">Uzbek</option>\n <option value="vi">Vietnamese</option>\n <option value="vo">Volap\xc3\xbck</option>\n <option value="wa">Walloon</option>\n <option value="cy">Welsh</option>\n <option value="wo">Wolof</option>\n <option value="xh">Xhosa</option>\n <option value="yi">Yiddish</option>\n <option value="yo">Yorouba</option>\n <option value="za">Zhuang</option>\n <option value="zu">Zulu</option>\n </select>\n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-dates">\n <legend id="fieldsetlegend-dates">Dates</legend>\n \n \n \n \n <div class="field ArchetypesCalendarWidget kssattr-atfieldname-effectiveDate"\n id="archetypes-fieldname-effectiveDate">\n <span></span>\n <label class="formQuestion" for="effectiveDate">Publishing Date</label>\n \n <div class="formHelp" id="effectiveDate_help">The date when the item will be published. If no date is selected the item will be published immediately.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n <div class="plone_jscalendar">\n\n <input type="hidden" name="effectiveDate"\n id="edit_form_effectiveDate_0" />\n \n \n <span>\n <select name="effectiveDate_year"\n id="edit_form_effectiveDate_0_year"\n size="1">\n <option value="0000" selected="selected">--</option>\n <option value="2001">2001</option>\n <option value="2002">2002</option>\n <option value="2003">2003</option>\n <option value="2004">2004</option>\n <option value="2005">2005</option>\n <option value="2006">2006</option>\n <option value="2007">2007</option>\n <option value="2008">2008</option>\n <option value="2009">2009</option>\n <option value="2010">2010</option>\n <option value="2011">2011</option>\n <option value="2012">2012</option>\n <option value="2013">2013</option>\n <option value="2014">2014</option>\n\n </select>\n </span>\n\n \n\n <span>/</span>\n\n <span>\n <select name="effectiveDate_month"\n id="edit_form_effectiveDate_0_month" size="1">\n <option value="00" selected="selected">--</option>\n <option value="01">January</option>\n <option value="02">February</option>\n <option value="03">March</option>\n <option value="04">April</option>\n <option value="05">May</option>\n <option value="06">June</option>\n <option value="07">July</option>\n <option value="08">August</option>\n <option value="09">September</option>\n <option value="10">October</option>\n <option value="11">November</option>\n <option value="12">December</option>\n </select>\n </span>\n\n <span>/</span>\n\n <select name="effectiveDate_day"\n id="edit_form_effectiveDate_0_day" size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="01">1</option>\n <option value="02">2</option>\n <option value="03">3</option>\n <option value="04">4</option>\n <option value="05">5</option>\n <option value="06">6</option>\n <option value="07">7</option>\n <option value="08">8</option>\n <option value="09">9</option>\n <option value="10">10</option>\n <option value="11">11</option>\n <option value="12">12</option>\n <option value="13">13</option>\n <option value="14">14</option>\n <option value="15">15</option>\n <option value="16">16</option>\n <option value="17">17</option>\n <option value="18">18</option>\n <option value="19">19</option>\n <option value="20">20</option>\n <option value="21">21</option>\n <option value="22">22</option>\n <option value="23">23</option>\n <option value="24">24</option>\n <option value="25">25</option>\n <option value="26">26</option>\n <option value="27">27</option>\n <option value="28">28</option>\n <option value="29">29</option>\n <option value="30">30</option>\n <option value="31">31</option>\n\n </select>\n\n <a onclick="return plone.jscalendar.show(\'#edit_form_effectiveDate_0\', 0000, 2014)"><img src="http://nohost/plone/popup_calendar.gif" alt="" title="Calendar" height="16" width="16" /></a>\n \n\n <span>\n <select name="effectiveDate_hour"\n id="edit_form_effectiveDate_0_hour"\n size="1">\n\n <option value="12" selected="selected">--</option>\n <option value="12">12</option>\n <option value="01">01</option>\n <option value="02">02</option>\n <option value="03">03</option>\n <option value="04">04</option>\n <option value="05">05</option>\n <option value="06">06</option>\n <option value="07">07</option>\n <option value="08">08</option>\n <option value="09">09</option>\n <option value="10">10</option>\n <option value="11">11</option>\n\n </select>\n </span>\n\n \n\n <span>:</span>\n\n <span>\n <select name="effectiveDate_minute"\n id="edit_form_effectiveDate_0_minute"\n size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="00">00</option>\n <option value="05">05</option>\n <option value="10">10</option>\n <option value="15">15</option>\n <option value="20">20</option>\n <option value="25">25</option>\n <option value="30">30</option>\n <option value="35">35</option>\n <option value="40">40</option>\n <option value="45">45</option>\n <option value="50">50</option>\n <option value="55">55</option>\n\n </select>\n </span>\n\n \n\n\n <span>\n <select name="effectiveDate_ampm"\n id="edit_form_effectiveDate_0_ampm" size="1">\n\n <option value="AM" selected="selected">--</option>\n <option value="AM">AM</option>\n <option value="PM">PM</option>\n\n </select>\n </span>\n\n \n </div>\n \n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesCalendarWidget kssattr-atfieldname-expirationDate"\n id="archetypes-fieldname-expirationDate">\n <span></span>\n <label class="formQuestion" for="expirationDate">Expiration Date</label>\n \n <div class="formHelp" id="expirationDate_help">The date when the item expires. This will automatically make the item invisible for others at the given date. If no date is chosen, it will never expire.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n <div class="plone_jscalendar">\n\n <input type="hidden" name="expirationDate"\n id="edit_form_expirationDate_1" />\n \n \n <span>\n <select name="expirationDate_year"\n id="edit_form_expirationDate_1_year"\n size="1">\n <option value="0000" selected="selected">--</option>\n <option value="2001">2001</option>\n <option value="2002">2002</option>\n <option value="2003">2003</option>\n <option value="2004">2004</option>\n <option value="2005">2005</option>\n <option value="2006">2006</option>\n <option value="2007">2007</option>\n <option value="2008">2008</option>\n <option value="2009">2009</option>\n <option value="2010">2010</option>\n <option value="2011">2011</option>\n <option value="2012">2012</option>\n <option value="2013">2013</option>\n <option value="2014">2014</option>\n\n </select>\n </span>\n\n \n\n <span>/</span>\n\n <span>\n <select name="expirationDate_month"\n id="edit_form_expirationDate_1_month" size="1">\n <option value="00" selected="selected">--</option>\n <option value="01">January</option>\n <option value="02">February</option>\n <option value="03">March</option>\n <option value="04">April</option>\n <option value="05">May</option>\n <option value="06">June</option>\n <option value="07">July</option>\n <option value="08">August</option>\n <option value="09">September</option>\n <option value="10">October</option>\n <option value="11">November</option>\n <option value="12">December</option>\n </select>\n </span>\n\n <span>/</span>\n\n <select name="expirationDate_day"\n id="edit_form_expirationDate_1_day" size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="01">1</option>\n <option value="02">2</option>\n <option value="03">3</option>\n <option value="04">4</option>\n <option value="05">5</option>\n <option value="06">6</option>\n <option value="07">7</option>\n <option value="08">8</option>\n <option value="09">9</option>\n <option value="10">10</option>\n <option value="11">11</option>\n <option value="12">12</option>\n <option value="13">13</option>\n <option value="14">14</option>\n <option value="15">15</option>\n <option value="16">16</option>\n <option value="17">17</option>\n <option value="18">18</option>\n <option value="19">19</option>\n <option value="20">20</option>\n <option value="21">21</option>\n <option value="22">22</option>\n <option value="23">23</option>\n <option value="24">24</option>\n <option value="25">25</option>\n <option value="26">26</option>\n <option value="27">27</option>\n <option value="28">28</option>\n <option value="29">29</option>\n <option value="30">30</option>\n <option value="31">31</option>\n\n </select>\n\n <a onclick="return plone.jscalendar.show(\'#edit_form_expirationDate_1\', 0000, 2014)"><img src="http://nohost/plone/popup_calendar.gif" alt="" title="Calendar" height="16" width="16" /></a>\n \n\n <span>\n <select name="expirationDate_hour"\n id="edit_form_expirationDate_1_hour"\n size="1">\n\n <option value="12" selected="selected">--</option>\n <option value="12">12</option>\n <option value="01">01</option>\n <option value="02">02</option>\n <option value="03">03</option>\n <option value="04">04</option>\n <option value="05">05</option>\n <option value="06">06</option>\n <option value="07">07</option>\n <option value="08">08</option>\n <option value="09">09</option>\n <option value="10">10</option>\n <option value="11">11</option>\n\n </select>\n </span>\n\n \n\n <span>:</span>\n\n <span>\n <select name="expirationDate_minute"\n id="edit_form_expirationDate_1_minute"\n size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="00">00</option>\n <option value="05">05</option>\n <option value="10">10</option>\n <option value="15">15</option>\n <option value="20">20</option>\n <option value="25">25</option>\n <option value="30">30</option>\n <option value="35">35</option>\n <option value="40">40</option>\n <option value="45">45</option>\n <option value="50">50</option>\n <option value="55">55</option>\n\n </select>\n </span>\n\n \n\n\n <span>\n <select name="expirationDate_ampm"\n id="edit_form_expirationDate_1_ampm"\n size="1">\n\n <option value="AM" selected="selected">--</option>\n <option value="AM">AM</option>\n <option value="PM">PM</option>\n\n </select>\n </span>\n\n \n </div>\n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-ownership">\n <legend id="fieldsetlegend-ownership">Ownership</legend>\n \n <div>\n \n \n <div class="field ArchetypesLinesWidget kssattr-atfieldname-creators"\n id="archetypes-fieldname-creators">\n <span></span>\n <label class="formQuestion" for="creators">Creators</label>\n \n <div class="formHelp" id="creators_help">Persons responsible for creating the content of this item. Please enter a list of user names, one per line. The principal creator should come first.</div>\n \n <div class="fieldErrorBox"></div>\n <div>\n <textarea rows="3" cols="40"\n name="creators:lines" id="creators">test_user_1_</textarea>\n </div>\n </div>\n \n\n \n\n \n </div>\n \n \n <div>\n \n \n <div class="field ArchetypesLinesWidget kssattr-atfieldname-contributors"\n id="archetypes-fieldname-contributors">\n <span></span>\n <label class="formQuestion" for="contributors">Contributors</label>\n \n <div class="formHelp" id="contributors_help">The names of people that have contributed to this item. Each contributor should be on a separate line.</div>\n \n <div class="fieldErrorBox"></div>\n <div>\n <textarea rows="5" cols="40"\n name="contributors:lines"\n id="contributors"></textarea>\n </div>\n </div>\n \n\n \n\n \n </div>\n \n \n \n \n \n <div class="field ArchetypesTextAreaWidget kssattr-atfieldname-rights"\n id="archetypes-fieldname-rights">\n <span></span>\n <label class="formQuestion" for="rights">Rights</label>\n \n <div class="formHelp" id="rights_help">Copyright statement or other rights information on this item.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n\n <textarea class="blurrable firstToFocus" rows="5"\n name="rights" cols="40" id="rights"></textarea>\n\n \n\n \n\n \n \n \n \n\n \n \n <input type="hidden" name="rights_text_format"\n value="text/html" />\n \n \n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-settings">\n <legend id="fieldsetlegend-settings">Settings</legend>\n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-allowDiscussion"\n id="archetypes-fieldname-allowDiscussion">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="allowDiscussion:boolean"\n id="allowDiscussion" />\n <input type="hidden" value=""\n name="allowDiscussion:boolean:default" />\n \n <label class="formQuestion" for="allowDiscussion">Allow comments</label>\n \n <div class="formHelp" id="allowDiscussion_help">If selected, users can add comments to this item.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-excludeFromNav"\n id="archetypes-fieldname-excludeFromNav">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="excludeFromNav:boolean"\n id="excludeFromNav" />\n <input type="hidden" value=""\n name="excludeFromNav:boolean:default" />\n \n <label class="formQuestion" for="excludeFromNav">Exclude from navigation</label>\n \n <div class="formHelp" id="excludeFromNav_help">If selected, this item will not appear in the navigation tree</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-nextPreviousEnabled"\n id="archetypes-fieldname-nextPreviousEnabled">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="nextPreviousEnabled:boolean"\n id="nextPreviousEnabled" />\n <input type="hidden" value=""\n name="nextPreviousEnabled:boolean:default" />\n \n <label class="formQuestion"\n for="nextPreviousEnabled">Enable next previous navigation</label>\n \n <div class="formHelp"\n id="nextPreviousEnabled_help">This enables next/previous widget on content items contained in this folder.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n <div class="formControls">\n\t \n <input type="hidden" name="fieldsets:list"\n value="default" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="categorization" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="dates" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="ownership" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="settings" />\n\t \n\n\t \n\n\t \n <input type="hidden" name="form.submitted" value="1" />\n <input type="hidden" name="add_reference.field:record" value="" />\n <input type="hidden" name="add_reference.type:record" value="" />\n <input type="hidden" name="add_reference.destination:record" value="" />\n\n \n \n \n \n \n \n \n \n \n \n \n\n \n\n \n \n \n \n\n \n <input type="hidden" name="last_referer"\n value="localhost" />\n\n \n \n \n \n <input class="context" type="submit"\n name="form.button.save" value="Save" />\n <input class="standalone" type="submit"\n name="form.button.cancel" value="Cancel" />\n \n \n\n \n \n \n\n </div>\n\n </form>\n\n </div>\n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n\n <span id="contentBottomLeft"></span>\n <span id="contentBottomRight"></span>\n\n </div>\n\n </div>\n\n \n </td>\n \n\n \n <td id="portal-column-two">\n <div class="visualPadding">\n \n \n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"\n class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"><dl class="portlet portletNews">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="http://nohost/plone/news" class="tile">News</a>\n <span class="portletTopRight"></span>\n </dt>\n\n \n <dd class="portletItem odd">\n\n <a href="http://nohost/plone/Members/test_user_1_/important"\n class="tile" title="">\n <img width="16" height="16" src="http://nohost/plone/newsitem_icon.gif" alt="News Item" />\n some important news!\n <span class="portletItemDetails">Oct 29, 2009</span>\n </a>\n </dd>\n \n\n <dd class="portletFooter">\n <span class="portletBottomLeft"></span>\n <a href="http://nohost/plone/news">\n More news…\n </a>\n <span class="portletBottomRight"></span>\n </dd>\n \n</dl>\n</div>\n\n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a63616c656e646172"\n class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a63616c656e646172"><dl class="portlet portletCalendar">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="?month:int=9&year:int=2009&orig_query="\n rel="nofollow" title="Previous month"\n id="calendar-previous"\n class="kssCalendarChange kssattr-year-2009 kssattr-month-9 calendarPrevious">«</a>\n\n \n October\n 2009\n \n\n <a href="?month:int=11&year:int=2009&orig_query="\n rel="nofollow" title="Next month"\n id="calendar-next"\n class="kssCalendarChange kssattr-year-2009 kssattr-month-11 calendarNext">»</a>\n <span class="portletTopRight"></span>\n </dt>\n\n <dd class="portletItem">\n <table class="ploneCalendar" summary="Calendar">\n <caption class="hiddenStructure">October</caption>\n <thead>\n <tr class="weekdays"><th scope="col">Mon</th><th\n scope="col">Tue</th><th scope="col">Wed</th><th\n scope="col">Thu</th><th scope="col">Fri</th><th\n scope="col">Sat</th><th scope="col">Sun</th>\n </tr>\n </thead>\n <tbody>\n <tr><td></td><td></td><td></td><td>1</td><td>2</td><td>3</td><td>4</td>\n </tr>\n <tr><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td><td>11</td>\n </tr>\n <tr><td>12</td><td>13</td><td>14</td><td>15</td><td>16</td><td>17</td><td>18</td>\n </tr>\n <tr><td>19</td><td>20</td><td>21</td><td>22</td><td>23</td><td>24</td><td>25</td>\n </tr>\n <tr><td>26</td><td>27</td><td>28</td><td\n class="todaynoevent"><strong>29</strong></td><td>30</td><td>31</td><td></td>\n </tr>\n </tbody>\n\n </table>\n <span class="portletBottomLeft"></span>\n <span class="portletBottomRight"></span>\n </dd>\n</dl>\n</div>\n\n\n<div class="managePortletsLink">\n <a title="View portlet management screen"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/@@manage-portlets">Manage portlets</a>\n</div>\n\n \n \n </div>\n </td>\n \n </tr>\n </tbody>\n </table>\n \n\n <div class="visualClear" id="clear-space-before-footer"><!-- --></div>\n \n \n\n \n\n <div id="portal-footer">\n\n<p>\n \n The\n <a href="http://plone.org">Plone<sup>®</sup> CMS — Open Source Content Management System</a>\n is\n <acronym title="Copyright">©</acronym>\n 2000-2009\n by the\n <a href="http://plone.org/foundation">Plone Foundation</a>\n et al.\n \n</p>\n\n<p>\n \n Plone<sup>®</sup> and the Plone logo are registered trademarks of the\n <a href="http://plone.org/foundation">Plone Foundation</a>.\n \n\n \n Distributed under the\n <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n \n</p>\n\n</div>\n\n <div id="portal-colophon">\n \n\n \n\n <div class="colophonWrapper">\n <ul>\n <li>\n <a href="http://plone.org"\n title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information.">\n Powered by Plone</a>\n </li>\n <li>\n <a href="http://validator.w3.org/check/referer"\n title="This site is valid XHTML.">\n Valid XHTML</a>\n </li>\n <li>\n <a href="http://jigsaw.w3.org/css-validator/check/referer&warning=no&profile=css3&usermedium=all"\n title="This site was built with valid CSS.">\n Valid CSS</a>\n </li>\n <li>\n <a href="http://www.section508.gov"\n title="This site conforms to the US Government Section 508 Accessibility Guidelines.">\n Section 508</a>\n </li>\n <li>\n <a href="http://www.w3.org/WAI/WCAG1AA-Conformance"\n title="This site conforms to the W3C-WAI Web Content Accessibility Guidelines.">\n WCAG</a>\n </li>\n </ul>\n </div>\n\n </div>\n\n\n\n \n\n <div class="visualClear"><!-- --></div>\n </div>\n<div id="kss-spinner"><img alt=""\n src="http://nohost/plone/spinner.gif" /></div>\n</body>\n</html>\n\n\n\n'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 297, in csrf.txt
Failed example:
browser.getLink('Sharing').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[127]>", line 1, in ?
browser.getLink('Sharing').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 298, in csrf.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/folder/@@sharing'
Got:
'http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/edit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 300, in csrf.txt
Failed example:
browser.getControl(name='entries.role_Editor:records').value
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[129]>", line 1, in ?
browser.getControl(name='entries.role_Editor:records').value
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name 'entries.role_Editor:records'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 303, in csrf.txt
Failed example:
browser.getControl(name='_authenticator').value = 'invalid!'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[130]>", line 1, in ?
browser.getControl(name='_authenticator').value = 'invalid!'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name '_authenticator'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 304, in csrf.txt
Failed example:
browser.getControl(name='entries.role_Editor:records').value = ['True']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[131]>", line 1, in ?
browser.getControl(name='entries.role_Editor:records').value = ['True']
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name 'entries.role_Editor:records'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 305, in csrf.txt
Failed example:
browser.getControl('Save').click()
Expected:
Traceback (most recent call last):
...
HTTPError: HTTP Error 403: Forbidden
Got nothing
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 311, in csrf.txt
Failed example:
browser.getControl(name='entries.role_Editor:records').value = ['True']
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[134]>", line 1, in ?
browser.getControl(name='entries.role_Editor:records').value = ['True']
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name 'entries.role_Editor:records'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 313, in csrf.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/folder/@@sharing'
Got:
'http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/atct_edit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 315, in csrf.txt
Failed example:
browser.contents
Expected:
'...Info...Changes saved...'
Got:
'\n\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n \n \n\n\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"\n lang="en">\n\n \n \n \n \n \n \n\n \n\n <head>\n\n <meta http-equiv="Content-Type"\n content="text/html;charset=utf-8" />\n\n \n <base href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/" /><!--[if lt IE 7]></base><![endif]-->\n \n\n <meta name="generator" content="Plone - http://plone.org" />\n\n <link rel="kss-base-url" href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281" />\n\n \n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/jquery-cachekey1584.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/dropdown-cachekey3648.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/sarissa-cachekey7248.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/resourcebase2-dom-fp-cachekey6366.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/resourcekukit-cachekey6581.js">\n </script>\n \n \n \n\n\n \n \n \n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Plone%20Default/member-cachekey2556.css);</style>\n \n \n \n\n \n \n \n <style type="text/css">@import url(http://nohost/plone/portal_css/Plone%20Default/base-cachekey2855.css);</style>\n \n \n \n\n \n \n \n <style type="text/css" media="all">@import url(http://nohost/plone/portal_css/Plone%20Default/ploneCustom-cachekey8382.css);</style>\n \n \n \n\n\n \n <link rel="kinetic-stylesheet" type="text/css"\n href="http://nohost/plone/portal_kss/Plone%20Default/at-cachekey6483.kss" />\n\n\n<title>[\xc2\xb7\xc2\xb7\xc2\xb7] — Plone site</title>\n\n\n <!-- Internet Explorer CSS Fixes -->\n <!--[if IE]>\n <style type="text/css" media="all">@import url(http://nohost/plone/IEFixes.css);</style>\n <![endif]-->\n\n \n <link rel="author"\n href="http://nohost/plone/author/test_user_1_"\n title="Author information" />\n\n\n\n <link rel="shortcut icon" type="image/x-icon"\n href="http://nohost/plone/favicon.ico" />\n\n\n\n <link rel="home" href="http://nohost/plone"\n title="Front page" />\n\n <link rel="contents" href="http://nohost/plone/sitemap"\n title="Site Map" />\n\n\n\n\n\n\n <link rel="search"\n href="http://nohost/plone/search_form"\n title="Search this site" />\n\n\n\n <!-- Disable IE6 image toolbar -->\n <meta http-equiv="imagetoolbar" content="no" />\n \n \n \n\n \n \n\n \n \n \n <style type="text/css" media="all"><!-- @import url(http://nohost/plone/content_types.css); --></style>\n \n \n <style type="text/css" media="all"><!-- @import url(http://nohost/plone/jscalendar/calendar-system.css); --></style>\n \n \n \n\n \n \n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/widgets/js/textcount.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/referencebrowser.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/jscalendar/calendar_stripped.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/jscalendar/calendar-en.js">\n </script>\n \n \n \n\n </head>\n\n <body class="section-portal_factory template-atct_edit"\n dir="ltr">\n <div id="visual-portal-wrapper">\n\n <div id="portal-top">\n <div id="portal-header">\n<p class="hiddenStructure">\n <a accesskey="2"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/atct_edit#documentContent">Skip to content.</a> |\n\n <a accesskey="6"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/atct_edit#portlet-navigation-tree">Skip to navigation</a>\n</p>\n\n<ul id="portal-siteactions">\n\n <li id="siteaction-sitemap"><a\n href="http://nohost/plone/sitemap" accesskey="3"\n title="Site Map">Site Map</a></li>\n <li id="siteaction-accessibility"><a\n href="http://nohost/plone/accessibility-info"\n accesskey="0" title="Accessibility">Accessibility</a></li>\n <li id="siteaction-contact"><a\n href="http://nohost/plone/contact-info" accesskey="9"\n title="Contact">Contact</a></li>\n <li id="siteaction-plone_setup"><a\n href="http://nohost/plone/plone_control_panel"\n accesskey="" title="Site Setup">Site Setup</a></li>\n\n</ul>\n\n<div id="portal-searchbox">\n <form name="searchform"\n action="http://nohost/plone/search">\n\n <label for="searchGadget" class="hiddenStructure">Search Site</label>\n\n <div class="LSBox">\n <input name="SearchableText" type="text" size="18"\n title="Search Site" accesskey="4"\n class="inputLabel" id="searchGadget" />\n\n <input class="searchButton" type="submit"\n value="Search" />\n \n <div class="searchSection">\n <input id="searchbox_currentfolder_only"\n class="noborder" type="checkbox"\n name="path"\n value="/plone/portal_factory/Folder/folder.2009-10-29.3097495281" />\n <label for="searchbox_currentfolder_only"\n style="cursor: pointer">\n only in current section\n </label>\n </div>\n\n <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div>\n </div>\n </form>\n\n <div id="portal-advanced-search" class="hiddenStructure">\n <a href="http://nohost/plone/search_form"\n accesskey="5">\n Advanced Search…\n </a>\n </div>\n\n</div>\n\n<a id="portal-logo" accesskey="1" href="http://nohost/plone">\n <img src="http://nohost/plone/logo.jpg" alt="" title="Plone" height="57" width="252" /></a>\n\n\n <h5 class="hiddenStructure">Sections</h5>\n\n <ul id="portal-globalnav">\n <li id="portaltab-index_html" class="selected"><a\n href="http://nohost/plone" title="">Home</a></li>\n <li id="portaltab-Members" class="plain"><a\n href="http://nohost/plone/Members"\n title="Container for users\' home directories">Users</a></li>\n <li id="portaltab-news" class="plain"><a\n href="http://nohost/plone/news" title="Site News">News</a></li>\n <li id="portaltab-events" class="plain"><a\n href="http://nohost/plone/events" title="Site Events">Events</a></li>\n <li id="portaltab-a-folder" class="plain"><a\n href="http://nohost/plone/a-folder" title="">a folder</a></li>\n </ul>\n\n</div>\n\n<div id="portal-personaltools-wrapper">\n\n<h5 class="hiddenStructure">Personal tools</h5>\n\n<ul id="portal-personaltools" class="visualInline">\n \n <li><a id="user-name"\n href="http://nohost/plone/dashboard"><img src="http://nohost/plone/user.gif" alt="" title="User" height="16" width="16" />\n <span class="visualCaseSensitive">John Doe</span></a></li>\n \n\n \n <li>\n <a href="http://nohost/plone/logout">Log out</a>\n </li>\n \n\n</ul>\n</div>\n\n\n \n\n\n<div id="portal-breadcrumbs">\n\n <span id="breadcrumbs-you-are-here">You\nare here:</span>\n <a href="http://nohost/plone">Home</a>\n <span class="breadcrumbSeparator">\n →\n \n </span>\n <span dir="ltr">\n \n \n \n <span>[\xc2\xb7\xc2\xb7\xc2\xb7]</span>\n \n </span>\n\n</div>\n\n </div>\n\n <div class="visualClear" id="clear-space-before-wrapper-table"><!-- --></div>\n\n <table id="portal-columns">\n <tbody>\n <tr>\n \n \n \n\n \n <td id="portal-column-content">\n\n \n <div class="">\n\n \n\n\n <div id="region-content" class="documentContent">\n\n <span id="contentTopLeft"></span>\n <span id="contentTopRight"></span>\n \n <a name="documentContent"></a>\n\n \n\n <dl class="portalMessage info" id="kssPortalMessage" style="display:none">\n <dt>Info</dt>\n <dd></dd>\n </dl>\n\n \n\n <dl class="portalMessage error">\n <dt>Error</dt>\n <dd>Please correct the indicated errors.</dd>\n </dl>\n\n \n\n \n <div id="viewlet-above-content"><div id="plone-lock-status">\n \n</div>\n</div>\n\n \n \n \n \n \n \n \n <div>\n \n <h1 class="documentFirstHeading">\n Add\n <span> Folder </span>\n </h1>\n \n\n\n\n \n\n \n \n\n </div>\n \n \n <div>\n \n <p class="discreet">A folder which can contain other items.</p>\n \n </div>\n \n \n <div>\n <form name="edit_form" method="post"\n enctype="multipart/form-data"\n class="enableUnloadProtection enableAutoFocus enableFormTabbing enableUnlockProtection"\n action="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/atct_edit"\n id="folder-base-edit">\n \n \n \n\n \n \n \n \n <fieldset id="fieldset-default">\n <legend id="fieldsetlegend-default">Default</legend>\n \n \n \n \n \n <input type="hidden" name="id"\n value="folder.2009-10-29.3097495281" />\n \n \n \n \n \n \n \n \n <div class="field error ArchetypesStringWidget kssattr-atfieldname-title"\n id="archetypes-fieldname-title">\n <span></span>\n <label class="formQuestion" for="title">Title</label>\n <span class="fieldRequired" title="Required">\n (Required)\n </span>\n <div class="formHelp" id="title_help"></div>\n \n <div class="fieldErrorBox">Title is required, please correct.</div>\n <input type="text" name="title"\n class="blurrable firstToFocus" id="title"\n value="" size="30" maxlength="255" />\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesTextAreaWidget kssattr-atfieldname-description"\n id="archetypes-fieldname-description">\n <span></span>\n <label class="formQuestion" for="description">Description</label>\n \n <div class="formHelp" id="description_help">A short summary of the content.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n\n <textarea class="blurrable firstToFocus" rows="5"\n name="description" cols="40"\n id="description"></textarea>\n\n \n\n \n\n \n \n \n \n\n \n \n <input type="hidden"\n name="description_text_format"\n value="text/plain" />\n \n \n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-categorization">\n <legend id="fieldsetlegend-categorization">Categorization</legend>\n \n \n \n \n <div class="field ArchetypesKeywordWidget kssattr-atfieldname-subject"\n id="archetypes-fieldname-subject">\n <span></span>\n <label class="formQuestion" for="subject">Categories</label>\n \n <div class="formHelp" id="subject_help">Also known as keywords, tags or labels, these help you categorize your content.</div>\n \n <div class="fieldErrorBox"></div>\n \n\n \n <div style="width: 45%; float: right;">\n <span>New categories</span>\n <br />\n <textarea id="subject_keywords"\n name="subject_keywords:lines" rows="11"\n cols="15" wrap="off"></textarea>\n\n </div>\n \n\n <div style="width: 45%">\n <span>\n Existing categories\n </span>\n\n <br />\n\n <select id="subject_existing_keywords"\n name="subject_existing_keywords:list"\n size="14" multiple="multiple">\n </select>\n\n <input type="hidden" value=""\n name="subject_existing_keywords:default:list" />\n\n\n </div>\n\n <div class="visualClear"><!-- --></div>\n\n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesStringWidget kssattr-atfieldname-location"\n id="archetypes-fieldname-location">\n <span></span>\n <label class="formQuestion" for="location">Location</label>\n \n <div class="formHelp" id="location_help">The geographical location associated with the item, if applicable.</div>\n \n <div class="fieldErrorBox"></div>\n <input type="text" name="location"\n class="blurrable firstToFocus"\n id="location" value="" size="30"\n maxlength="255" />\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesLanguageWidget kssattr-atfieldname-language"\n id="archetypes-fieldname-language">\n <span></span>\n <label class="formQuestion" for="language">Language</label>\n \n <div class="formHelp" id="language_help"></div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n <!-- Pulldown when longer -->\n <select name="language" id="language">\n <option value="">Language neutral (site default)</option>\n <option value="ab">Abkhazian</option>\n <option value="aa">Afar</option>\n <option value="af">Afrikaans</option>\n <option value="sq">Albanian</option>\n <option value="am">Amharic</option>\n <option value="ar">Arabic</option>\n <option value="hy">Armenian</option>\n <option value="as">Assamese</option>\n <option value="ay">Aymara</option>\n <option value="az">Azerbaijani</option>\n <option value="ba">Bashkir</option>\n <option value="eu">Basque</option>\n <option value="be">Belarussian</option>\n <option value="bn">Bengali</option>\n <option value="bh">Bihari</option>\n <option value="bi">Bislama</option>\n <option value="bs">Bosnian</option>\n <option value="br">Breton</option>\n <option value="bg">Bulgarian</option>\n <option value="my">Burmese</option>\n <option value="km">Cambodian/Khmer</option>\n <option value="ca">Catalan</option>\n <option value="zh">Chinese</option>\n <option value="kw">Cornish</option>\n <option value="co">Corsican</option>\n <option value="hr">Croatian</option>\n <option value="cs">Czech</option>\n <option value="da">Danish</option>\n <option value="nl">Dutch</option>\n <option value="en">English</option>\n <option value="eo">Esperanto</option>\n <option value="et">Estonian</option>\n <option value="fo">Faroese</option>\n <option value="fj">Fiji</option>\n <option value="fi">Finnish</option>\n <option value="fr">French</option>\n <option value="fy">Frisian</option>\n <option value="gl">Galician</option>\n <option value="ka">Georgian</option>\n <option value="de">German</option>\n <option value="el">Greek</option>\n <option value="kl">Greenlandic</option>\n <option value="gn">Guarani</option>\n <option value="gu">Gujarati</option>\n <option value="ha">Hausa</option>\n <option value="he">Hebrew</option>\n <option value="hi">Hindi</option>\n <option value="hu">Hungarian</option>\n <option value="is">Icelandic</option>\n <option value="dz">Indian Bhutani</option>\n <option value="id">Indonesian</option>\n <option value="ia">Interlingua</option>\n <option value="ie">Interlingue</option>\n <option value="iu">Inuktitut</option>\n <option value="ik">Inupiak</option>\n <option value="ga">Irish Gaelic</option>\n <option value="it">Italian</option>\n <option value="ja">Japanese</option>\n <option value="jw">Javanese</option>\n <option value="kn">Kannada</option>\n <option value="ks">Kashmiri</option>\n <option value="kk">Kazakh</option>\n <option value="ky">Kirghiz</option>\n <option value="rn">Kirundi</option>\n <option value="rw">Kiyarwanda</option>\n <option value="ko">Korean</option>\n <option value="ku">Kurdish</option>\n <option value="lo">Laotian</option>\n <option value="la">Latin</option>\n <option value="lv">Latvian</option>\n <option value="li">Limburgish</option>\n <option value="ln">Lingala</option>\n <option value="lt">Lithuanian</option>\n <option value="lb">Luxemburgish</option>\n <option value="mk">Macedonian</option>\n <option value="mg">Madagascarian</option>\n <option value="ms">Malay</option>\n <option value="ml">Malayalam</option>\n <option value="mt">Maltese</option>\n <option value="gv">Manx Gaelic</option>\n <option value="mi">Maori</option>\n <option value="mr">Marathi</option>\n <option value="mo">Moldavian</option>\n <option value="mn">Mongolian</option>\n <option value="me">Montenegrin</option>\n <option value="na">Nauruan</option>\n <option value="ne">Nepali</option>\n <option value="se">Northern S\xc3\xa1mi</option>\n <option value="no">Norwegian</option>\n <option value="nn">Nynorsk</option>\n <option value="oc">Occitan</option>\n <option value="or">Oriya</option>\n <option value="om">Oromo</option>\n <option value="ps">Pashto</option>\n <option value="fa">Persian</option>\n <option value="pl">Polish</option>\n <option value="pt">Portuguese</option>\n <option value="pa">Punjabi</option>\n <option value="qu">Quechua</option>\n <option value="rm">Rhaeto-Romance</option>\n <option value="ro">Romanian</option>\n <option value="ru">Russian</option>\n <option value="sm">Samoan</option>\n <option value="sg">Sangho</option>\n <option value="sa">Sanskrit</option>\n <option value="gd">Scottish Gaelic</option>\n <option value="sr">Serbian</option>\n <option value="sh">Serbo-Croatian</option>\n <option value="st">Sesotho</option>\n <option value="tn">Setswana</option>\n <option value="sn">Shona</option>\n <option value="sd">Sindhi</option>\n <option value="si">Singhalese</option>\n <option value="ss">Siswati</option>\n <option value="sk">Slovak</option>\n <option value="sl">Slovenian</option>\n <option value="so">Somali</option>\n <option value="es">Spanish</option>\n <option value="su">Sudanese</option>\n <option value="sw">Swahili</option>\n <option value="sv">Swedish</option>\n <option value="tg">Tadjik</option>\n <option value="tl">Tagalog</option>\n <option value="ta">Tamil</option>\n <option value="tt">Tatar</option>\n <option value="te">Telugu</option>\n <option value="th">Thai</option>\n <option value="bo">Tibetan</option>\n <option value="ti">Tigrinya</option>\n <option value="to">Tonga</option>\n <option value="ts">Tsonga</option>\n <option value="tr">Turkish</option>\n <option value="tk">Turkmen</option>\n <option value="tw">Twi</option>\n <option value="ug">Uigur</option>\n <option value="uk">Ukrainian</option>\n <option value="ur">Urdu</option>\n <option value="uz">Uzbek</option>\n <option value="vi">Vietnamese</option>\n <option value="vo">Volap\xc3\xbck</option>\n <option value="wa">Walloon</option>\n <option value="cy">Welsh</option>\n <option value="wo">Wolof</option>\n <option value="xh">Xhosa</option>\n <option value="yi">Yiddish</option>\n <option value="yo">Yorouba</option>\n <option value="za">Zhuang</option>\n <option value="zu">Zulu</option>\n </select>\n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-dates">\n <legend id="fieldsetlegend-dates">Dates</legend>\n \n \n \n \n <div class="field ArchetypesCalendarWidget kssattr-atfieldname-effectiveDate"\n id="archetypes-fieldname-effectiveDate">\n <span></span>\n <label class="formQuestion" for="effectiveDate">Publishing Date</label>\n \n <div class="formHelp" id="effectiveDate_help">The date when the item will be published. If no date is selected the item will be published immediately.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n <div class="plone_jscalendar">\n\n <input type="hidden" name="effectiveDate"\n id="edit_form_effectiveDate_0" />\n \n \n <span>\n <select name="effectiveDate_year"\n id="edit_form_effectiveDate_0_year"\n size="1">\n <option value="0000" selected="selected">--</option>\n <option value="2001">2001</option>\n <option value="2002">2002</option>\n <option value="2003">2003</option>\n <option value="2004">2004</option>\n <option value="2005">2005</option>\n <option value="2006">2006</option>\n <option value="2007">2007</option>\n <option value="2008">2008</option>\n <option value="2009">2009</option>\n <option value="2010">2010</option>\n <option value="2011">2011</option>\n <option value="2012">2012</option>\n <option value="2013">2013</option>\n <option value="2014">2014</option>\n\n </select>\n </span>\n\n \n\n <span>/</span>\n\n <span>\n <select name="effectiveDate_month"\n id="edit_form_effectiveDate_0_month" size="1">\n <option value="00" selected="selected">--</option>\n <option value="01">January</option>\n <option value="02">February</option>\n <option value="03">March</option>\n <option value="04">April</option>\n <option value="05">May</option>\n <option value="06">June</option>\n <option value="07">July</option>\n <option value="08">August</option>\n <option value="09">September</option>\n <option value="10">October</option>\n <option value="11">November</option>\n <option value="12">December</option>\n </select>\n </span>\n\n <span>/</span>\n\n <select name="effectiveDate_day"\n id="edit_form_effectiveDate_0_day" size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="01">1</option>\n <option value="02">2</option>\n <option value="03">3</option>\n <option value="04">4</option>\n <option value="05">5</option>\n <option value="06">6</option>\n <option value="07">7</option>\n <option value="08">8</option>\n <option value="09">9</option>\n <option value="10">10</option>\n <option value="11">11</option>\n <option value="12">12</option>\n <option value="13">13</option>\n <option value="14">14</option>\n <option value="15">15</option>\n <option value="16">16</option>\n <option value="17">17</option>\n <option value="18">18</option>\n <option value="19">19</option>\n <option value="20">20</option>\n <option value="21">21</option>\n <option value="22">22</option>\n <option value="23">23</option>\n <option value="24">24</option>\n <option value="25">25</option>\n <option value="26">26</option>\n <option value="27">27</option>\n <option value="28">28</option>\n <option value="29">29</option>\n <option value="30">30</option>\n <option value="31">31</option>\n\n </select>\n\n <a onclick="return plone.jscalendar.show(\'#edit_form_effectiveDate_0\', 0000, 2014)"><img src="http://nohost/plone/popup_calendar.gif" alt="" title="Calendar" height="16" width="16" /></a>\n \n\n <span>\n <select name="effectiveDate_hour"\n id="edit_form_effectiveDate_0_hour"\n size="1">\n\n <option value="12" selected="selected">--</option>\n <option value="12">12</option>\n <option value="01">01</option>\n <option value="02">02</option>\n <option value="03">03</option>\n <option value="04">04</option>\n <option value="05">05</option>\n <option value="06">06</option>\n <option value="07">07</option>\n <option value="08">08</option>\n <option value="09">09</option>\n <option value="10">10</option>\n <option value="11">11</option>\n\n </select>\n </span>\n\n \n\n <span>:</span>\n\n <span>\n <select name="effectiveDate_minute"\n id="edit_form_effectiveDate_0_minute"\n size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="00">00</option>\n <option value="05">05</option>\n <option value="10">10</option>\n <option value="15">15</option>\n <option value="20">20</option>\n <option value="25">25</option>\n <option value="30">30</option>\n <option value="35">35</option>\n <option value="40">40</option>\n <option value="45">45</option>\n <option value="50">50</option>\n <option value="55">55</option>\n\n </select>\n </span>\n\n \n\n\n <span>\n <select name="effectiveDate_ampm"\n id="edit_form_effectiveDate_0_ampm" size="1">\n\n <option value="AM" selected="selected">--</option>\n <option value="AM">AM</option>\n <option value="PM">PM</option>\n\n </select>\n </span>\n\n \n </div>\n \n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesCalendarWidget kssattr-atfieldname-expirationDate"\n id="archetypes-fieldname-expirationDate">\n <span></span>\n <label class="formQuestion" for="expirationDate">Expiration Date</label>\n \n <div class="formHelp" id="expirationDate_help">The date when the item expires. This will automatically make the item invisible for others at the given date. If no date is chosen, it will never expire.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n <div class="plone_jscalendar">\n\n <input type="hidden" name="expirationDate"\n id="edit_form_expirationDate_1" />\n \n \n <span>\n <select name="expirationDate_year"\n id="edit_form_expirationDate_1_year"\n size="1">\n <option value="0000" selected="selected">--</option>\n <option value="2001">2001</option>\n <option value="2002">2002</option>\n <option value="2003">2003</option>\n <option value="2004">2004</option>\n <option value="2005">2005</option>\n <option value="2006">2006</option>\n <option value="2007">2007</option>\n <option value="2008">2008</option>\n <option value="2009">2009</option>\n <option value="2010">2010</option>\n <option value="2011">2011</option>\n <option value="2012">2012</option>\n <option value="2013">2013</option>\n <option value="2014">2014</option>\n\n </select>\n </span>\n\n \n\n <span>/</span>\n\n <span>\n <select name="expirationDate_month"\n id="edit_form_expirationDate_1_month" size="1">\n <option value="00" selected="selected">--</option>\n <option value="01">January</option>\n <option value="02">February</option>\n <option value="03">March</option>\n <option value="04">April</option>\n <option value="05">May</option>\n <option value="06">June</option>\n <option value="07">July</option>\n <option value="08">August</option>\n <option value="09">September</option>\n <option value="10">October</option>\n <option value="11">November</option>\n <option value="12">December</option>\n </select>\n </span>\n\n <span>/</span>\n\n <select name="expirationDate_day"\n id="edit_form_expirationDate_1_day" size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="01">1</option>\n <option value="02">2</option>\n <option value="03">3</option>\n <option value="04">4</option>\n <option value="05">5</option>\n <option value="06">6</option>\n <option value="07">7</option>\n <option value="08">8</option>\n <option value="09">9</option>\n <option value="10">10</option>\n <option value="11">11</option>\n <option value="12">12</option>\n <option value="13">13</option>\n <option value="14">14</option>\n <option value="15">15</option>\n <option value="16">16</option>\n <option value="17">17</option>\n <option value="18">18</option>\n <option value="19">19</option>\n <option value="20">20</option>\n <option value="21">21</option>\n <option value="22">22</option>\n <option value="23">23</option>\n <option value="24">24</option>\n <option value="25">25</option>\n <option value="26">26</option>\n <option value="27">27</option>\n <option value="28">28</option>\n <option value="29">29</option>\n <option value="30">30</option>\n <option value="31">31</option>\n\n </select>\n\n <a onclick="return plone.jscalendar.show(\'#edit_form_expirationDate_1\', 0000, 2014)"><img src="http://nohost/plone/popup_calendar.gif" alt="" title="Calendar" height="16" width="16" /></a>\n \n\n <span>\n <select name="expirationDate_hour"\n id="edit_form_expirationDate_1_hour"\n size="1">\n\n <option value="12" selected="selected">--</option>\n <option value="12">12</option>\n <option value="01">01</option>\n <option value="02">02</option>\n <option value="03">03</option>\n <option value="04">04</option>\n <option value="05">05</option>\n <option value="06">06</option>\n <option value="07">07</option>\n <option value="08">08</option>\n <option value="09">09</option>\n <option value="10">10</option>\n <option value="11">11</option>\n\n </select>\n </span>\n\n \n\n <span>:</span>\n\n <span>\n <select name="expirationDate_minute"\n id="edit_form_expirationDate_1_minute"\n size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="00">00</option>\n <option value="05">05</option>\n <option value="10">10</option>\n <option value="15">15</option>\n <option value="20">20</option>\n <option value="25">25</option>\n <option value="30">30</option>\n <option value="35">35</option>\n <option value="40">40</option>\n <option value="45">45</option>\n <option value="50">50</option>\n <option value="55">55</option>\n\n </select>\n </span>\n\n \n\n\n <span>\n <select name="expirationDate_ampm"\n id="edit_form_expirationDate_1_ampm"\n size="1">\n\n <option value="AM" selected="selected">--</option>\n <option value="AM">AM</option>\n <option value="PM">PM</option>\n\n </select>\n </span>\n\n \n </div>\n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-ownership">\n <legend id="fieldsetlegend-ownership">Ownership</legend>\n \n <div>\n \n \n <div class="field ArchetypesLinesWidget kssattr-atfieldname-creators"\n id="archetypes-fieldname-creators">\n <span></span>\n <label class="formQuestion" for="creators">Creators</label>\n \n <div class="formHelp" id="creators_help">Persons responsible for creating the content of this item. Please enter a list of user names, one per line. The principal creator should come first.</div>\n \n <div class="fieldErrorBox"></div>\n <div>\n <textarea rows="3" cols="40"\n name="creators:lines" id="creators">test_user_1_</textarea>\n </div>\n </div>\n \n\n \n\n \n </div>\n \n \n <div>\n \n \n <div class="field ArchetypesLinesWidget kssattr-atfieldname-contributors"\n id="archetypes-fieldname-contributors">\n <span></span>\n <label class="formQuestion" for="contributors">Contributors</label>\n \n <div class="formHelp" id="contributors_help">The names of people that have contributed to this item. Each contributor should be on a separate line.</div>\n \n <div class="fieldErrorBox"></div>\n <div>\n <textarea rows="5" cols="40"\n name="contributors:lines"\n id="contributors"></textarea>\n </div>\n </div>\n \n\n \n\n \n </div>\n \n \n \n \n \n <div class="field ArchetypesTextAreaWidget kssattr-atfieldname-rights"\n id="archetypes-fieldname-rights">\n <span></span>\n <label class="formQuestion" for="rights">Rights</label>\n \n <div class="formHelp" id="rights_help">Copyright statement or other rights information on this item.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n\n <textarea class="blurrable firstToFocus" rows="5"\n name="rights" cols="40" id="rights"></textarea>\n\n \n\n \n\n \n \n \n \n\n \n \n <input type="hidden" name="rights_text_format"\n value="text/html" />\n \n \n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-settings">\n <legend id="fieldsetlegend-settings">Settings</legend>\n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-allowDiscussion"\n id="archetypes-fieldname-allowDiscussion">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="allowDiscussion:boolean"\n id="allowDiscussion" />\n <input type="hidden" value=""\n name="allowDiscussion:boolean:default" />\n \n <label class="formQuestion" for="allowDiscussion">Allow comments</label>\n \n <div class="formHelp" id="allowDiscussion_help">If selected, users can add comments to this item.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-excludeFromNav"\n id="archetypes-fieldname-excludeFromNav">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="excludeFromNav:boolean"\n id="excludeFromNav" />\n <input type="hidden" value=""\n name="excludeFromNav:boolean:default" />\n \n <label class="formQuestion" for="excludeFromNav">Exclude from navigation</label>\n \n <div class="formHelp" id="excludeFromNav_help">If selected, this item will not appear in the navigation tree</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-nextPreviousEnabled"\n id="archetypes-fieldname-nextPreviousEnabled">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="nextPreviousEnabled:boolean"\n id="nextPreviousEnabled" />\n <input type="hidden" value=""\n name="nextPreviousEnabled:boolean:default" />\n \n <label class="formQuestion"\n for="nextPreviousEnabled">Enable next previous navigation</label>\n \n <div class="formHelp"\n id="nextPreviousEnabled_help">This enables next/previous widget on content items contained in this folder.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n <div class="formControls">\n\t \n <input type="hidden" name="fieldsets:list"\n value="default" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="categorization" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="dates" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="ownership" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="settings" />\n\t \n\n\t \n\n\t \n <input type="hidden" name="form.submitted" value="1" />\n <input type="hidden" name="add_reference.field:record" value="" />\n <input type="hidden" name="add_reference.type:record" value="" />\n <input type="hidden" name="add_reference.destination:record" value="" />\n\n \n \n \n \n \n \n \n \n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n <input type="hidden" name="last_referer"\n value="localhost" />\n\n \n \n \n \n <input class="context" type="submit"\n name="form.button.save" value="Save" />\n <input class="standalone" type="submit"\n name="form.button.cancel" value="Cancel" />\n \n \n\n \n \n \n\n </div>\n\n </form>\n\n </div>\n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n\n <span id="contentBottomLeft"></span>\n <span id="contentBottomRight"></span>\n\n </div>\n\n </div>\n\n \n </td>\n \n\n \n <td id="portal-column-two">\n <div class="visualPadding">\n \n \n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"\n class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"><dl class="portlet portletNews">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="http://nohost/plone/news" class="tile">News</a>\n <span class="portletTopRight"></span>\n </dt>\n\n \n <dd class="portletItem odd">\n\n <a href="http://nohost/plone/Members/test_user_1_/important"\n class="tile" title="">\n <img width="16" height="16" src="http://nohost/plone/newsitem_icon.gif" alt="News Item" />\n some important news!\n <span class="portletItemDetails">Oct 29, 2009</span>\n </a>\n </dd>\n \n\n <dd class="portletFooter">\n <span class="portletBottomLeft"></span>\n <a href="http://nohost/plone/news">\n More news…\n </a>\n <span class="portletBottomRight"></span>\n </dd>\n \n</dl>\n</div>\n\n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a63616c656e646172"\n class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a63616c656e646172"><dl class="portlet portletCalendar">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="?month:int=9&year:int=2009&orig_query="\n rel="nofollow" title="Previous month"\n id="calendar-previous"\n class="kssCalendarChange kssattr-year-2009 kssattr-month-9 calendarPrevious">«</a>\n\n \n October\n 2009\n \n\n <a href="?month:int=11&year:int=2009&orig_query="\n rel="nofollow" title="Next month"\n id="calendar-next"\n class="kssCalendarChange kssattr-year-2009 kssattr-month-11 calendarNext">»</a>\n <span class="portletTopRight"></span>\n </dt>\n\n <dd class="portletItem">\n <table class="ploneCalendar" summary="Calendar">\n <caption class="hiddenStructure">October</caption>\n <thead>\n <tr class="weekdays"><th scope="col">Mon</th><th\n scope="col">Tue</th><th scope="col">Wed</th><th\n scope="col">Thu</th><th scope="col">Fri</th><th\n scope="col">Sat</th><th scope="col">Sun</th>\n </tr>\n </thead>\n <tbody>\n <tr><td></td><td></td><td></td><td>1</td><td>2</td><td>3</td><td>4</td>\n </tr>\n <tr><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td><td>11</td>\n </tr>\n <tr><td>12</td><td>13</td><td>14</td><td>15</td><td>16</td><td>17</td><td>18</td>\n </tr>\n <tr><td>19</td><td>20</td><td>21</td><td>22</td><td>23</td><td>24</td><td>25</td>\n </tr>\n <tr><td>26</td><td>27</td><td>28</td><td\n class="todaynoevent"><strong>29</strong></td><td>30</td><td>31</td><td></td>\n </tr>\n </tbody>\n\n </table>\n <span class="portletBottomLeft"></span>\n <span class="portletBottomRight"></span>\n </dd>\n</dl>\n</div>\n\n\n<div class="managePortletsLink">\n <a title="View portlet management screen"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/@@manage-portlets">Manage portlets</a>\n</div>\n\n \n \n </div>\n </td>\n \n </tr>\n </tbody>\n </table>\n \n\n <div class="visualClear" id="clear-space-before-footer"><!-- --></div>\n \n \n\n \n\n <div id="portal-footer">\n\n<p>\n \n The\n <a href="http://plone.org">Plone<sup>®</sup> CMS — Open Source Content Management System</a>\n is\n <acronym title="Copyright">©</acronym>\n 2000-2009\n by the\n <a href="http://plone.org/foundation">Plone Foundation</a>\n et al.\n \n</p>\n\n<p>\n \n Plone<sup>®</sup> and the Plone logo are registered trademarks of the\n <a href="http://plone.org/foundation">Plone Foundation</a>.\n \n\n \n Distributed under the\n <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n \n</p>\n\n</div>\n\n <div id="portal-colophon">\n \n\n \n\n <div class="colophonWrapper">\n <ul>\n <li>\n <a href="http://plone.org"\n title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information.">\n Powered by Plone</a>\n </li>\n <li>\n <a href="http://validator.w3.org/check/referer"\n title="This site is valid XHTML.">\n Valid XHTML</a>\n </li>\n <li>\n <a href="http://jigsaw.w3.org/css-validator/check/referer&warning=no&profile=css3&usermedium=all"\n title="This site was built with valid CSS.">\n Valid CSS</a>\n </li>\n <li>\n <a href="http://www.section508.gov"\n title="This site conforms to the US Government Section 508 Accessibility Guidelines.">\n Section 508</a>\n </li>\n <li>\n <a href="http://www.w3.org/WAI/WCAG1AA-Conformance"\n title="This site conforms to the W3C-WAI Web Content Accessibility Guidelines.">\n WCAG</a>\n </li>\n </ul>\n </div>\n\n </div>\n\n\n\n \n\n <div class="visualClear"><!-- --></div>\n </div>\n<div id="kss-spinner"><img alt=""\n src="http://nohost/plone/spinner.gif" /></div>\n</body>\n</html>\n\n\n\n'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 317, in csrf.txt
Failed example:
browser.getControl(name='entries.role_Editor:records').value
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[138]>", line 1, in ?
browser.getControl(name='entries.role_Editor:records').value
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name 'entries.role_Editor:records'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 322, in csrf.txt
Failed example:
browser.getLink('View').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[139]>", line 1, in ?
browser.getLink('View').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 323, in csrf.txt
Failed example:
browser.getLink('Delete').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[140]>", line 1, in ?
browser.getLink('Delete').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 324, in csrf.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/folder/delete_confirmation'
Got:
'http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/atct_edit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 326, in csrf.txt
Failed example:
browser.getControl(name='_authenticator').value = 'invalid!'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[142]>", line 1, in ?
browser.getControl(name='_authenticator').value = 'invalid!'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name '_authenticator'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 327, in csrf.txt
Failed example:
browser.getControl('Delete').click()
Expected:
Traceback (most recent call last):
...
HTTPError: HTTP Error 403: Forbidden
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[143]>", line 1, in ?
browser.getControl('Delete').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Delete'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 333, in csrf.txt
Failed example:
browser.getControl('Delete').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[145]>", line 1, in ?
browser.getControl('Delete').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Delete'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 334, in csrf.txt
Failed example:
browser.url
Expected:
'http://nohost/plone'
Got:
'http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/edit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 336, in csrf.txt
Failed example:
browser.contents
Expected:
'...Info...a folder has been deleted...'
Got:
'\n\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n \n \n\n\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"\n lang="en">\n\n \n \n \n \n \n \n\n \n\n <head>\n\n <meta http-equiv="Content-Type"\n content="text/html;charset=utf-8" />\n\n \n <base href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/" /><!--[if lt IE 7]></base><![endif]-->\n \n\n <meta name="generator" content="Plone - http://plone.org" />\n\n <link rel="kss-base-url" href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281" />\n\n \n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/jquery-cachekey1584.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/dropdown-cachekey3648.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/sarissa-cachekey7248.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/resourcebase2-dom-fp-cachekey6366.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/resourcekukit-cachekey6581.js">\n </script>\n \n \n \n\n\n \n \n \n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Plone%20Default/member-cachekey2556.css);</style>\n \n \n \n\n \n \n \n <style type="text/css">@import url(http://nohost/plone/portal_css/Plone%20Default/base-cachekey2855.css);</style>\n \n \n \n\n \n \n \n <style type="text/css" media="all">@import url(http://nohost/plone/portal_css/Plone%20Default/ploneCustom-cachekey8382.css);</style>\n \n \n \n\n\n \n <link rel="kinetic-stylesheet" type="text/css"\n href="http://nohost/plone/portal_kss/Plone%20Default/at-cachekey6483.kss" />\n\n\n<title>[\xc2\xb7\xc2\xb7\xc2\xb7] — Plone site</title>\n\n\n <!-- Internet Explorer CSS Fixes -->\n <!--[if IE]>\n <style type="text/css" media="all">@import url(http://nohost/plone/IEFixes.css);</style>\n <![endif]-->\n\n \n <link rel="author"\n href="http://nohost/plone/author/test_user_1_"\n title="Author information" />\n\n\n\n <link rel="shortcut icon" type="image/x-icon"\n href="http://nohost/plone/favicon.ico" />\n\n\n\n <link rel="home" href="http://nohost/plone"\n title="Front page" />\n\n <link rel="contents" href="http://nohost/plone/sitemap"\n title="Site Map" />\n\n\n\n\n\n\n <link rel="search"\n href="http://nohost/plone/search_form"\n title="Search this site" />\n\n\n\n <!-- Disable IE6 image toolbar -->\n <meta http-equiv="imagetoolbar" content="no" />\n \n \n \n\n \n \n\n \n \n \n <style type="text/css" media="all"><!-- @import url(http://nohost/plone/content_types.css); --></style>\n \n \n <style type="text/css" media="all"><!-- @import url(http://nohost/plone/jscalendar/calendar-system.css); --></style>\n \n \n \n\n \n \n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/widgets/js/textcount.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/referencebrowser.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/jscalendar/calendar_stripped.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/jscalendar/calendar-en.js">\n </script>\n \n \n \n\n </head>\n\n <body class="section-portal_factory template-atct_edit"\n dir="ltr">\n <div id="visual-portal-wrapper">\n\n <div id="portal-top">\n <div id="portal-header">\n<p class="hiddenStructure">\n <a accesskey="2"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/edit#documentContent">Skip to content.</a> |\n\n <a accesskey="6"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/edit#portlet-navigation-tree">Skip to navigation</a>\n</p>\n\n<ul id="portal-siteactions">\n\n <li id="siteaction-sitemap"><a\n href="http://nohost/plone/sitemap" accesskey="3"\n title="Site Map">Site Map</a></li>\n <li id="siteaction-accessibility"><a\n href="http://nohost/plone/accessibility-info"\n accesskey="0" title="Accessibility">Accessibility</a></li>\n <li id="siteaction-contact"><a\n href="http://nohost/plone/contact-info" accesskey="9"\n title="Contact">Contact</a></li>\n <li id="siteaction-plone_setup"><a\n href="http://nohost/plone/plone_control_panel"\n accesskey="" title="Site Setup">Site Setup</a></li>\n\n</ul>\n\n<div id="portal-searchbox">\n <form name="searchform"\n action="http://nohost/plone/search">\n\n <label for="searchGadget" class="hiddenStructure">Search Site</label>\n\n <div class="LSBox">\n <input name="SearchableText" type="text" size="18"\n title="Search Site" accesskey="4"\n class="inputLabel" id="searchGadget" />\n\n <input class="searchButton" type="submit"\n value="Search" />\n \n <div class="searchSection">\n <input id="searchbox_currentfolder_only"\n class="noborder" type="checkbox"\n name="path"\n value="/plone/portal_factory/Folder/folder.2009-10-29.3097495281" />\n <label for="searchbox_currentfolder_only"\n style="cursor: pointer">\n only in current section\n </label>\n </div>\n\n <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div>\n </div>\n </form>\n\n <div id="portal-advanced-search" class="hiddenStructure">\n <a href="http://nohost/plone/search_form"\n accesskey="5">\n Advanced Search…\n </a>\n </div>\n\n</div>\n\n<a id="portal-logo" accesskey="1" href="http://nohost/plone">\n <img src="http://nohost/plone/logo.jpg" alt="" title="Plone" height="57" width="252" /></a>\n\n\n <h5 class="hiddenStructure">Sections</h5>\n\n <ul id="portal-globalnav">\n <li id="portaltab-index_html" class="selected"><a\n href="http://nohost/plone" title="">Home</a></li>\n <li id="portaltab-Members" class="plain"><a\n href="http://nohost/plone/Members"\n title="Container for users\' home directories">Users</a></li>\n <li id="portaltab-news" class="plain"><a\n href="http://nohost/plone/news" title="Site News">News</a></li>\n <li id="portaltab-events" class="plain"><a\n href="http://nohost/plone/events" title="Site Events">Events</a></li>\n </ul>\n\n</div>\n\n<div id="portal-personaltools-wrapper">\n\n<h5 class="hiddenStructure">Personal tools</h5>\n\n<ul id="portal-personaltools" class="visualInline">\n \n <li><a id="user-name"\n href="http://nohost/plone/dashboard"><img src="http://nohost/plone/user.gif" alt="" title="User" height="16" width="16" />\n <span class="visualCaseSensitive">John Doe</span></a></li>\n \n\n \n <li>\n <a href="http://nohost/plone/logout">Log out</a>\n </li>\n \n\n</ul>\n</div>\n\n\n \n\n\n<div id="portal-breadcrumbs">\n\n <span id="breadcrumbs-you-are-here">You\nare here:</span>\n <a href="http://nohost/plone">Home</a>\n <span class="breadcrumbSeparator">\n →\n \n </span>\n <span dir="ltr">\n \n \n \n <span>[\xc2\xb7\xc2\xb7\xc2\xb7]</span>\n \n </span>\n\n</div>\n\n </div>\n\n <div class="visualClear" id="clear-space-before-wrapper-table"><!-- --></div>\n\n <table id="portal-columns">\n <tbody>\n <tr>\n \n \n \n\n \n <td id="portal-column-content">\n\n \n <div class="">\n\n \n\n\n <div id="region-content" class="documentContent">\n\n <span id="contentTopLeft"></span>\n <span id="contentTopRight"></span>\n \n <a name="documentContent"></a>\n\n \n\n <dl class="portalMessage info" id="kssPortalMessage" style="display:none">\n <dt>Info</dt>\n <dd></dd>\n </dl>\n\n\n \n <div id="viewlet-above-content"><div id="plone-lock-status">\n \n</div>\n</div>\n\n \n \n \n \n \n \n \n <div>\n \n <h1 class="documentFirstHeading">\n Add\n <span> Folder </span>\n </h1>\n \n\n\n\n \n\n \n \n\n </div>\n \n \n <div>\n \n <p class="discreet">A folder which can contain other items.</p>\n \n </div>\n \n \n <div>\n <form name="edit_form" method="post"\n enctype="multipart/form-data"\n class="enableUnloadProtection enableAutoFocus enableFormTabbing enableUnlockProtection"\n action="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/atct_edit"\n id="folder-base-edit">\n \n \n \n\n \n \n \n \n <fieldset id="fieldset-default">\n <legend id="fieldsetlegend-default">Default</legend>\n \n \n \n \n \n <input type="hidden" name="id"\n value="folder.2009-10-29.3097495281" />\n \n \n \n \n \n \n \n \n <div class="field ArchetypesStringWidget kssattr-atfieldname-title"\n id="archetypes-fieldname-title">\n <span></span>\n <label class="formQuestion" for="title">Title</label>\n <span class="fieldRequired" title="Required">\n (Required)\n </span>\n <div class="formHelp" id="title_help"></div>\n \n <div class="fieldErrorBox"></div>\n <input type="text" name="title"\n class="blurrable firstToFocus" id="title"\n value="" size="30" maxlength="255" />\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesTextAreaWidget kssattr-atfieldname-description"\n id="archetypes-fieldname-description">\n <span></span>\n <label class="formQuestion" for="description">Description</label>\n \n <div class="formHelp" id="description_help">A short summary of the content.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n\n <textarea class="blurrable firstToFocus" rows="5"\n name="description" cols="40"\n id="description"></textarea>\n\n \n\n \n\n \n \n \n \n\n \n \n <input type="hidden"\n name="description_text_format"\n value="text/plain" />\n \n \n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-categorization">\n <legend id="fieldsetlegend-categorization">Categorization</legend>\n \n \n \n \n <div class="field ArchetypesKeywordWidget kssattr-atfieldname-subject"\n id="archetypes-fieldname-subject">\n <span></span>\n <label class="formQuestion" for="subject">Categories</label>\n \n <div class="formHelp" id="subject_help">Also known as keywords, tags or labels, these help you categorize your content.</div>\n \n <div class="fieldErrorBox"></div>\n \n\n \n <div style="width: 45%; float: right;">\n <span>New categories</span>\n <br />\n <textarea id="subject_keywords"\n name="subject_keywords:lines" rows="11"\n cols="15" wrap="off"></textarea>\n\n </div>\n \n\n <div style="width: 45%">\n <span>\n Existing categories\n </span>\n\n <br />\n\n <select id="subject_existing_keywords"\n name="subject_existing_keywords:list"\n size="14" multiple="multiple">\n </select>\n\n <input type="hidden" value=""\n name="subject_existing_keywords:default:list" />\n\n\n </div>\n\n <div class="visualClear"><!-- --></div>\n\n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesStringWidget kssattr-atfieldname-location"\n id="archetypes-fieldname-location">\n <span></span>\n <label class="formQuestion" for="location">Location</label>\n \n <div class="formHelp" id="location_help">The geographical location associated with the item, if applicable.</div>\n \n <div class="fieldErrorBox"></div>\n <input type="text" name="location"\n class="blurrable firstToFocus"\n id="location" value="" size="30"\n maxlength="255" />\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesLanguageWidget kssattr-atfieldname-language"\n id="archetypes-fieldname-language">\n <span></span>\n <label class="formQuestion" for="language">Language</label>\n \n <div class="formHelp" id="language_help"></div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n <!-- Pulldown when longer -->\n <select name="language" id="language">\n <option value="">Language neutral (site default)</option>\n <option value="ab">Abkhazian</option>\n <option value="aa">Afar</option>\n <option value="af">Afrikaans</option>\n <option value="sq">Albanian</option>\n <option value="am">Amharic</option>\n <option value="ar">Arabic</option>\n <option value="hy">Armenian</option>\n <option value="as">Assamese</option>\n <option value="ay">Aymara</option>\n <option value="az">Azerbaijani</option>\n <option value="ba">Bashkir</option>\n <option value="eu">Basque</option>\n <option value="be">Belarussian</option>\n <option value="bn">Bengali</option>\n <option value="bh">Bihari</option>\n <option value="bi">Bislama</option>\n <option value="bs">Bosnian</option>\n <option value="br">Breton</option>\n <option value="bg">Bulgarian</option>\n <option value="my">Burmese</option>\n <option value="km">Cambodian/Khmer</option>\n <option value="ca">Catalan</option>\n <option value="zh">Chinese</option>\n <option value="kw">Cornish</option>\n <option value="co">Corsican</option>\n <option value="hr">Croatian</option>\n <option value="cs">Czech</option>\n <option value="da">Danish</option>\n <option value="nl">Dutch</option>\n <option value="en">English</option>\n <option value="eo">Esperanto</option>\n <option value="et">Estonian</option>\n <option value="fo">Faroese</option>\n <option value="fj">Fiji</option>\n <option value="fi">Finnish</option>\n <option value="fr">French</option>\n <option value="fy">Frisian</option>\n <option value="gl">Galician</option>\n <option value="ka">Georgian</option>\n <option value="de">German</option>\n <option value="el">Greek</option>\n <option value="kl">Greenlandic</option>\n <option value="gn">Guarani</option>\n <option value="gu">Gujarati</option>\n <option value="ha">Hausa</option>\n <option value="he">Hebrew</option>\n <option value="hi">Hindi</option>\n <option value="hu">Hungarian</option>\n <option value="is">Icelandic</option>\n <option value="dz">Indian Bhutani</option>\n <option value="id">Indonesian</option>\n <option value="ia">Interlingua</option>\n <option value="ie">Interlingue</option>\n <option value="iu">Inuktitut</option>\n <option value="ik">Inupiak</option>\n <option value="ga">Irish Gaelic</option>\n <option value="it">Italian</option>\n <option value="ja">Japanese</option>\n <option value="jw">Javanese</option>\n <option value="kn">Kannada</option>\n <option value="ks">Kashmiri</option>\n <option value="kk">Kazakh</option>\n <option value="ky">Kirghiz</option>\n <option value="rn">Kirundi</option>\n <option value="rw">Kiyarwanda</option>\n <option value="ko">Korean</option>\n <option value="ku">Kurdish</option>\n <option value="lo">Laotian</option>\n <option value="la">Latin</option>\n <option value="lv">Latvian</option>\n <option value="li">Limburgish</option>\n <option value="ln">Lingala</option>\n <option value="lt">Lithuanian</option>\n <option value="lb">Luxemburgish</option>\n <option value="mk">Macedonian</option>\n <option value="mg">Madagascarian</option>\n <option value="ms">Malay</option>\n <option value="ml">Malayalam</option>\n <option value="mt">Maltese</option>\n <option value="gv">Manx Gaelic</option>\n <option value="mi">Maori</option>\n <option value="mr">Marathi</option>\n <option value="mo">Moldavian</option>\n <option value="mn">Mongolian</option>\n <option value="me">Montenegrin</option>\n <option value="na">Nauruan</option>\n <option value="ne">Nepali</option>\n <option value="se">Northern S\xc3\xa1mi</option>\n <option value="no">Norwegian</option>\n <option value="nn">Nynorsk</option>\n <option value="oc">Occitan</option>\n <option value="or">Oriya</option>\n <option value="om">Oromo</option>\n <option value="ps">Pashto</option>\n <option value="fa">Persian</option>\n <option value="pl">Polish</option>\n <option value="pt">Portuguese</option>\n <option value="pa">Punjabi</option>\n <option value="qu">Quechua</option>\n <option value="rm">Rhaeto-Romance</option>\n <option value="ro">Romanian</option>\n <option value="ru">Russian</option>\n <option value="sm">Samoan</option>\n <option value="sg">Sangho</option>\n <option value="sa">Sanskrit</option>\n <option value="gd">Scottish Gaelic</option>\n <option value="sr">Serbian</option>\n <option value="sh">Serbo-Croatian</option>\n <option value="st">Sesotho</option>\n <option value="tn">Setswana</option>\n <option value="sn">Shona</option>\n <option value="sd">Sindhi</option>\n <option value="si">Singhalese</option>\n <option value="ss">Siswati</option>\n <option value="sk">Slovak</option>\n <option value="sl">Slovenian</option>\n <option value="so">Somali</option>\n <option value="es">Spanish</option>\n <option value="su">Sudanese</option>\n <option value="sw">Swahili</option>\n <option value="sv">Swedish</option>\n <option value="tg">Tadjik</option>\n <option value="tl">Tagalog</option>\n <option value="ta">Tamil</option>\n <option value="tt">Tatar</option>\n <option value="te">Telugu</option>\n <option value="th">Thai</option>\n <option value="bo">Tibetan</option>\n <option value="ti">Tigrinya</option>\n <option value="to">Tonga</option>\n <option value="ts">Tsonga</option>\n <option value="tr">Turkish</option>\n <option value="tk">Turkmen</option>\n <option value="tw">Twi</option>\n <option value="ug">Uigur</option>\n <option value="uk">Ukrainian</option>\n <option value="ur">Urdu</option>\n <option value="uz">Uzbek</option>\n <option value="vi">Vietnamese</option>\n <option value="vo">Volap\xc3\xbck</option>\n <option value="wa">Walloon</option>\n <option value="cy">Welsh</option>\n <option value="wo">Wolof</option>\n <option value="xh">Xhosa</option>\n <option value="yi">Yiddish</option>\n <option value="yo">Yorouba</option>\n <option value="za">Zhuang</option>\n <option value="zu">Zulu</option>\n </select>\n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-dates">\n <legend id="fieldsetlegend-dates">Dates</legend>\n \n \n \n \n <div class="field ArchetypesCalendarWidget kssattr-atfieldname-effectiveDate"\n id="archetypes-fieldname-effectiveDate">\n <span></span>\n <label class="formQuestion" for="effectiveDate">Publishing Date</label>\n \n <div class="formHelp" id="effectiveDate_help">The date when the item will be published. If no date is selected the item will be published immediately.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n <div class="plone_jscalendar">\n\n <input type="hidden" name="effectiveDate"\n id="edit_form_effectiveDate_0" />\n \n \n <span>\n <select name="effectiveDate_year"\n id="edit_form_effectiveDate_0_year"\n size="1">\n <option value="0000" selected="selected">--</option>\n <option value="2001">2001</option>\n <option value="2002">2002</option>\n <option value="2003">2003</option>\n <option value="2004">2004</option>\n <option value="2005">2005</option>\n <option value="2006">2006</option>\n <option value="2007">2007</option>\n <option value="2008">2008</option>\n <option value="2009">2009</option>\n <option value="2010">2010</option>\n <option value="2011">2011</option>\n <option value="2012">2012</option>\n <option value="2013">2013</option>\n <option value="2014">2014</option>\n\n </select>\n </span>\n\n \n\n <span>/</span>\n\n <span>\n <select name="effectiveDate_month"\n id="edit_form_effectiveDate_0_month" size="1">\n <option value="00" selected="selected">--</option>\n <option value="01">January</option>\n <option value="02">February</option>\n <option value="03">March</option>\n <option value="04">April</option>\n <option value="05">May</option>\n <option value="06">June</option>\n <option value="07">July</option>\n <option value="08">August</option>\n <option value="09">September</option>\n <option value="10">October</option>\n <option value="11">November</option>\n <option value="12">December</option>\n </select>\n </span>\n\n <span>/</span>\n\n <select name="effectiveDate_day"\n id="edit_form_effectiveDate_0_day" size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="01">1</option>\n <option value="02">2</option>\n <option value="03">3</option>\n <option value="04">4</option>\n <option value="05">5</option>\n <option value="06">6</option>\n <option value="07">7</option>\n <option value="08">8</option>\n <option value="09">9</option>\n <option value="10">10</option>\n <option value="11">11</option>\n <option value="12">12</option>\n <option value="13">13</option>\n <option value="14">14</option>\n <option value="15">15</option>\n <option value="16">16</option>\n <option value="17">17</option>\n <option value="18">18</option>\n <option value="19">19</option>\n <option value="20">20</option>\n <option value="21">21</option>\n <option value="22">22</option>\n <option value="23">23</option>\n <option value="24">24</option>\n <option value="25">25</option>\n <option value="26">26</option>\n <option value="27">27</option>\n <option value="28">28</option>\n <option value="29">29</option>\n <option value="30">30</option>\n <option value="31">31</option>\n\n </select>\n\n <a onclick="return plone.jscalendar.show(\'#edit_form_effectiveDate_0\', 0000, 2014)"><img src="http://nohost/plone/popup_calendar.gif" alt="" title="Calendar" height="16" width="16" /></a>\n \n\n <span>\n <select name="effectiveDate_hour"\n id="edit_form_effectiveDate_0_hour"\n size="1">\n\n <option value="12" selected="selected">--</option>\n <option value="12">12</option>\n <option value="01">01</option>\n <option value="02">02</option>\n <option value="03">03</option>\n <option value="04">04</option>\n <option value="05">05</option>\n <option value="06">06</option>\n <option value="07">07</option>\n <option value="08">08</option>\n <option value="09">09</option>\n <option value="10">10</option>\n <option value="11">11</option>\n\n </select>\n </span>\n\n \n\n <span>:</span>\n\n <span>\n <select name="effectiveDate_minute"\n id="edit_form_effectiveDate_0_minute"\n size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="00">00</option>\n <option value="05">05</option>\n <option value="10">10</option>\n <option value="15">15</option>\n <option value="20">20</option>\n <option value="25">25</option>\n <option value="30">30</option>\n <option value="35">35</option>\n <option value="40">40</option>\n <option value="45">45</option>\n <option value="50">50</option>\n <option value="55">55</option>\n\n </select>\n </span>\n\n \n\n\n <span>\n <select name="effectiveDate_ampm"\n id="edit_form_effectiveDate_0_ampm" size="1">\n\n <option value="AM" selected="selected">--</option>\n <option value="AM">AM</option>\n <option value="PM">PM</option>\n\n </select>\n </span>\n\n \n </div>\n \n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesCalendarWidget kssattr-atfieldname-expirationDate"\n id="archetypes-fieldname-expirationDate">\n <span></span>\n <label class="formQuestion" for="expirationDate">Expiration Date</label>\n \n <div class="formHelp" id="expirationDate_help">The date when the item expires. This will automatically make the item invisible for others at the given date. If no date is chosen, it will never expire.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n <div class="plone_jscalendar">\n\n <input type="hidden" name="expirationDate"\n id="edit_form_expirationDate_1" />\n \n \n <span>\n <select name="expirationDate_year"\n id="edit_form_expirationDate_1_year"\n size="1">\n <option value="0000" selected="selected">--</option>\n <option value="2001">2001</option>\n <option value="2002">2002</option>\n <option value="2003">2003</option>\n <option value="2004">2004</option>\n <option value="2005">2005</option>\n <option value="2006">2006</option>\n <option value="2007">2007</option>\n <option value="2008">2008</option>\n <option value="2009">2009</option>\n <option value="2010">2010</option>\n <option value="2011">2011</option>\n <option value="2012">2012</option>\n <option value="2013">2013</option>\n <option value="2014">2014</option>\n\n </select>\n </span>\n\n \n\n <span>/</span>\n\n <span>\n <select name="expirationDate_month"\n id="edit_form_expirationDate_1_month" size="1">\n <option value="00" selected="selected">--</option>\n <option value="01">January</option>\n <option value="02">February</option>\n <option value="03">March</option>\n <option value="04">April</option>\n <option value="05">May</option>\n <option value="06">June</option>\n <option value="07">July</option>\n <option value="08">August</option>\n <option value="09">September</option>\n <option value="10">October</option>\n <option value="11">November</option>\n <option value="12">December</option>\n </select>\n </span>\n\n <span>/</span>\n\n <select name="expirationDate_day"\n id="edit_form_expirationDate_1_day" size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="01">1</option>\n <option value="02">2</option>\n <option value="03">3</option>\n <option value="04">4</option>\n <option value="05">5</option>\n <option value="06">6</option>\n <option value="07">7</option>\n <option value="08">8</option>\n <option value="09">9</option>\n <option value="10">10</option>\n <option value="11">11</option>\n <option value="12">12</option>\n <option value="13">13</option>\n <option value="14">14</option>\n <option value="15">15</option>\n <option value="16">16</option>\n <option value="17">17</option>\n <option value="18">18</option>\n <option value="19">19</option>\n <option value="20">20</option>\n <option value="21">21</option>\n <option value="22">22</option>\n <option value="23">23</option>\n <option value="24">24</option>\n <option value="25">25</option>\n <option value="26">26</option>\n <option value="27">27</option>\n <option value="28">28</option>\n <option value="29">29</option>\n <option value="30">30</option>\n <option value="31">31</option>\n\n </select>\n\n <a onclick="return plone.jscalendar.show(\'#edit_form_expirationDate_1\', 0000, 2014)"><img src="http://nohost/plone/popup_calendar.gif" alt="" title="Calendar" height="16" width="16" /></a>\n \n\n <span>\n <select name="expirationDate_hour"\n id="edit_form_expirationDate_1_hour"\n size="1">\n\n <option value="12" selected="selected">--</option>\n <option value="12">12</option>\n <option value="01">01</option>\n <option value="02">02</option>\n <option value="03">03</option>\n <option value="04">04</option>\n <option value="05">05</option>\n <option value="06">06</option>\n <option value="07">07</option>\n <option value="08">08</option>\n <option value="09">09</option>\n <option value="10">10</option>\n <option value="11">11</option>\n\n </select>\n </span>\n\n \n\n <span>:</span>\n\n <span>\n <select name="expirationDate_minute"\n id="edit_form_expirationDate_1_minute"\n size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="00">00</option>\n <option value="05">05</option>\n <option value="10">10</option>\n <option value="15">15</option>\n <option value="20">20</option>\n <option value="25">25</option>\n <option value="30">30</option>\n <option value="35">35</option>\n <option value="40">40</option>\n <option value="45">45</option>\n <option value="50">50</option>\n <option value="55">55</option>\n\n </select>\n </span>\n\n \n\n\n <span>\n <select name="expirationDate_ampm"\n id="edit_form_expirationDate_1_ampm"\n size="1">\n\n <option value="AM" selected="selected">--</option>\n <option value="AM">AM</option>\n <option value="PM">PM</option>\n\n </select>\n </span>\n\n \n </div>\n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-ownership">\n <legend id="fieldsetlegend-ownership">Ownership</legend>\n \n <div>\n \n \n <div class="field ArchetypesLinesWidget kssattr-atfieldname-creators"\n id="archetypes-fieldname-creators">\n <span></span>\n <label class="formQuestion" for="creators">Creators</label>\n \n <div class="formHelp" id="creators_help">Persons responsible for creating the content of this item. Please enter a list of user names, one per line. The principal creator should come first.</div>\n \n <div class="fieldErrorBox"></div>\n <div>\n <textarea rows="3" cols="40"\n name="creators:lines" id="creators">test_user_1_</textarea>\n </div>\n </div>\n \n\n \n\n \n </div>\n \n \n <div>\n \n \n <div class="field ArchetypesLinesWidget kssattr-atfieldname-contributors"\n id="archetypes-fieldname-contributors">\n <span></span>\n <label class="formQuestion" for="contributors">Contributors</label>\n \n <div class="formHelp" id="contributors_help">The names of people that have contributed to this item. Each contributor should be on a separate line.</div>\n \n <div class="fieldErrorBox"></div>\n <div>\n <textarea rows="5" cols="40"\n name="contributors:lines"\n id="contributors"></textarea>\n </div>\n </div>\n \n\n \n\n \n </div>\n \n \n \n \n \n <div class="field ArchetypesTextAreaWidget kssattr-atfieldname-rights"\n id="archetypes-fieldname-rights">\n <span></span>\n <label class="formQuestion" for="rights">Rights</label>\n \n <div class="formHelp" id="rights_help">Copyright statement or other rights information on this item.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n\n <textarea class="blurrable firstToFocus" rows="5"\n name="rights" cols="40" id="rights"></textarea>\n\n \n\n \n\n \n \n \n \n\n \n \n <input type="hidden" name="rights_text_format"\n value="text/html" />\n \n \n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-settings">\n <legend id="fieldsetlegend-settings">Settings</legend>\n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-allowDiscussion"\n id="archetypes-fieldname-allowDiscussion">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="allowDiscussion:boolean"\n id="allowDiscussion" />\n <input type="hidden" value=""\n name="allowDiscussion:boolean:default" />\n \n <label class="formQuestion" for="allowDiscussion">Allow comments</label>\n \n <div class="formHelp" id="allowDiscussion_help">If selected, users can add comments to this item.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-excludeFromNav"\n id="archetypes-fieldname-excludeFromNav">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="excludeFromNav:boolean"\n id="excludeFromNav" />\n <input type="hidden" value=""\n name="excludeFromNav:boolean:default" />\n \n <label class="formQuestion" for="excludeFromNav">Exclude from navigation</label>\n \n <div class="formHelp" id="excludeFromNav_help">If selected, this item will not appear in the navigation tree</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-nextPreviousEnabled"\n id="archetypes-fieldname-nextPreviousEnabled">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="nextPreviousEnabled:boolean"\n id="nextPreviousEnabled" />\n <input type="hidden" value=""\n name="nextPreviousEnabled:boolean:default" />\n \n <label class="formQuestion"\n for="nextPreviousEnabled">Enable next previous navigation</label>\n \n <div class="formHelp"\n id="nextPreviousEnabled_help">This enables next/previous widget on content items contained in this folder.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n <div class="formControls">\n\t \n <input type="hidden" name="fieldsets:list"\n value="default" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="categorization" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="dates" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="ownership" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="settings" />\n\t \n\n\t \n\n\t \n <input type="hidden" name="form.submitted" value="1" />\n <input type="hidden" name="add_reference.field:record" value="" />\n <input type="hidden" name="add_reference.type:record" value="" />\n <input type="hidden" name="add_reference.destination:record" value="" />\n\n \n \n \n \n \n \n \n \n \n \n \n\n \n\n \n \n \n \n\n \n <input type="hidden" name="last_referer"\n value="localhost" />\n\n \n \n \n \n <input class="context" type="submit"\n name="form.button.save" value="Save" />\n <input class="standalone" type="submit"\n name="form.button.cancel" value="Cancel" />\n \n \n\n \n \n \n\n </div>\n\n </form>\n\n </div>\n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n\n <span id="contentBottomLeft"></span>\n <span id="contentBottomRight"></span>\n\n </div>\n\n </div>\n\n \n </td>\n \n\n \n <td id="portal-column-two">\n <div class="visualPadding">\n \n \n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"\n class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"><dl class="portlet portletNews">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="http://nohost/plone/news" class="tile">News</a>\n <span class="portletTopRight"></span>\n </dt>\n\n \n <dd class="portletItem odd">\n\n <a href="http://nohost/plone/Members/test_user_1_/important"\n class="tile" title="">\n <img width="16" height="16" src="http://nohost/plone/newsitem_icon.gif" alt="News Item" />\n some important news!\n <span class="portletItemDetails">Oct 29, 2009</span>\n </a>\n </dd>\n \n\n <dd class="portletFooter">\n <span class="portletBottomLeft"></span>\n <a href="http://nohost/plone/news">\n More news…\n </a>\n <span class="portletBottomRight"></span>\n </dd>\n \n</dl>\n</div>\n\n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a63616c656e646172"\n class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a63616c656e646172"><dl class="portlet portletCalendar">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="?month:int=9&year:int=2009&orig_query="\n rel="nofollow" title="Previous month"\n id="calendar-previous"\n class="kssCalendarChange kssattr-year-2009 kssattr-month-9 calendarPrevious">«</a>\n\n \n October\n 2009\n \n\n <a href="?month:int=11&year:int=2009&orig_query="\n rel="nofollow" title="Next month"\n id="calendar-next"\n class="kssCalendarChange kssattr-year-2009 kssattr-month-11 calendarNext">»</a>\n <span class="portletTopRight"></span>\n </dt>\n\n <dd class="portletItem">\n <table class="ploneCalendar" summary="Calendar">\n <caption class="hiddenStructure">October</caption>\n <thead>\n <tr class="weekdays"><th scope="col">Mon</th><th\n scope="col">Tue</th><th scope="col">Wed</th><th\n scope="col">Thu</th><th scope="col">Fri</th><th\n scope="col">Sat</th><th scope="col">Sun</th>\n </tr>\n </thead>\n <tbody>\n <tr><td></td><td></td><td></td><td>1</td><td>2</td><td>3</td><td>4</td>\n </tr>\n <tr><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td><td>11</td>\n </tr>\n <tr><td>12</td><td>13</td><td>14</td><td>15</td><td>16</td><td>17</td><td>18</td>\n </tr>\n <tr><td>19</td><td>20</td><td>21</td><td>22</td><td>23</td><td>24</td><td>25</td>\n </tr>\n <tr><td>26</td><td>27</td><td>28</td><td\n class="todaynoevent"><strong>29</strong></td><td>30</td><td>31</td><td></td>\n </tr>\n </tbody>\n\n </table>\n <span class="portletBottomLeft"></span>\n <span class="portletBottomRight"></span>\n </dd>\n</dl>\n</div>\n\n\n<div class="managePortletsLink">\n <a title="View portlet management screen"\n href="http://nohost/plone/portal_factory/Folder/folder.2009-10-29.3097495281/@@manage-portlets">Manage portlets</a>\n</div>\n\n \n \n </div>\n </td>\n \n </tr>\n </tbody>\n </table>\n \n\n <div class="visualClear" id="clear-space-before-footer"><!-- --></div>\n \n \n\n \n\n <div id="portal-footer">\n\n<p>\n \n The\n <a href="http://plone.org">Plone<sup>®</sup> CMS — Open Source Content Management System</a>\n is\n <acronym title="Copyright">©</acronym>\n 2000-2009\n by the\n <a href="http://plone.org/foundation">Plone Foundation</a>\n et al.\n \n</p>\n\n<p>\n \n Plone<sup>®</sup> and the Plone logo are registered trademarks of the\n <a href="http://plone.org/foundation">Plone Foundation</a>.\n \n\n \n Distributed under the\n <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n \n</p>\n\n</div>\n\n <div id="portal-colophon">\n \n\n \n\n <div class="colophonWrapper">\n <ul>\n <li>\n <a href="http://plone.org"\n title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information.">\n Powered by Plone</a>\n </li>\n <li>\n <a href="http://validator.w3.org/check/referer"\n title="This site is valid XHTML.">\n Valid XHTML</a>\n </li>\n <li>\n <a href="http://jigsaw.w3.org/css-validator/check/referer&warning=no&profile=css3&usermedium=all"\n title="This site was built with valid CSS.">\n Valid CSS</a>\n </li>\n <li>\n <a href="http://www.section508.gov"\n title="This site conforms to the US Government Section 508 Accessibility Guidelines.">\n Section 508</a>\n </li>\n <li>\n <a href="http://www.w3.org/WAI/WCAG1AA-Conformance"\n title="This site conforms to the W3C-WAI Web Content Accessibility Guidelines.">\n WCAG</a>\n </li>\n </ul>\n </div>\n\n </div>\n\n\n\n \n\n <div class="visualClear"><!-- --></div>\n </div>\n<div id="kss-spinner"><img alt=""\n src="http://nohost/plone/spinner.gif" /></div>\n</body>\n</html>\n\n\n\n'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 369, in csrf.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[160]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 586, in click
self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 375, in _clickSubmit
self.mech_browser.open(form.click(
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
raise error
HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 373, in csrf.txt
Failed example:
browser.getLink('Home').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[162]>", line 1, in ?
browser.getLink('Home').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 374, in csrf.txt
Failed example:
browser.getLink('Contents').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[163]>", line 1, in ?
browser.getLink('Contents').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 375, in csrf.txt
Failed example:
browser.getControl(name='_authenticator').value = 'invalid!'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[164]>", line 1, in ?
browser.getControl(name='_authenticator').value = 'invalid!'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name '_authenticator'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 376, in csrf.txt
Failed example:
browser.getControl('a document').selected = True
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[165]>", line 1, in ?
browser.getControl('a document').selected = True
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'a document'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 377, in csrf.txt
Failed example:
browser.getControl('Delete').click()
Expected:
Traceback (most recent call last):
...
HTTPError: HTTP Error 403: Forbidden
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[166]>", line 1, in ?
browser.getControl('Delete').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Delete'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 383, in csrf.txt
Failed example:
browser.getControl('a document').selected = True
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[168]>", line 1, in ?
browser.getControl('a document').selected = True
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'a document'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 384, in csrf.txt
Failed example:
browser.getControl('Delete').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[169]>", line 1, in ?
browser.getControl('Delete').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Delete'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 385, in csrf.txt
Failed example:
browser.contents
Expected:
'...Info...Item(s) deleted...'
Got:
'\n\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n \n \n\n\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"\n lang="en">\n\n \n \n \n \n \n \n\n \n\n <head>\n\n <meta http-equiv="Content-Type"\n content="text/html;charset=utf-8" />\n\n \n <base href="http://nohost/plone/portal_factory/Document/document.2009-10-29.3122170938" /><!--[if lt IE 7]></base><![endif]-->\n \n\n <meta name="generator" content="Plone - http://plone.org" />\n\n <link rel="kss-base-url" href="http://nohost/plone/portal_factory/Document/document.2009-10-29.3122170938" />\n\n \n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/jquery-cachekey1584.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/dropdown-cachekey3648.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/sarissa-cachekey7248.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/resourcebase2-dom-fp-cachekey6366.js">\n </script>\n \n \n \n\n \n \n <script type="text/javascript"\n src="http://nohost/plone/portal_javascripts/Plone%20Default/resourcekukit-cachekey6581.js">\n </script>\n \n \n \n\n\n \n \n \n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Plone%20Default/member-cachekey2556.css);</style>\n \n \n \n\n \n \n \n <style type="text/css">@import url(http://nohost/plone/portal_css/Plone%20Default/base-cachekey2855.css);</style>\n \n \n \n\n \n \n \n <style type="text/css" media="all">@import url(http://nohost/plone/portal_css/Plone%20Default/ploneCustom-cachekey8382.css);</style>\n \n \n \n\n\n \n <link rel="kinetic-stylesheet" type="text/css"\n href="http://nohost/plone/portal_kss/Plone%20Default/at-cachekey6483.kss" />\n\n\n<title>[\xc2\xb7\xc2\xb7\xc2\xb7] — Plone site</title>\n\n\n <!-- Internet Explorer CSS Fixes -->\n <!--[if IE]>\n <style type="text/css" media="all">@import url(http://nohost/plone/IEFixes.css);</style>\n <![endif]-->\n\n \n <link rel="author"\n href="http://nohost/plone/author/test_user_1_"\n title="Author information" />\n\n\n\n <link rel="shortcut icon" type="image/x-icon"\n href="http://nohost/plone/favicon.ico" />\n\n\n\n <link rel="home" href="http://nohost/plone"\n title="Front page" />\n\n <link rel="contents" href="http://nohost/plone/sitemap"\n title="Site Map" />\n\n\n\n\n\n\n <link rel="search"\n href="http://nohost/plone/search_form"\n title="Search this site" />\n\n\n\n <!-- Disable IE6 image toolbar -->\n <meta http-equiv="imagetoolbar" content="no" />\n \n \n \n\n \n \n\n \n \n \n <style type="text/css" media="all"><!-- @import url(http://nohost/plone/content_types.css); --></style>\n \n \n <style type="text/css" media="all"><!-- @import url(http://nohost/plone/jscalendar/calendar-system.css); --></style>\n \n \n \n\n \n \n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/widgets/js/textcount.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/referencebrowser.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/jscalendar/calendar_stripped.js">\n </script>\n \n \n <script type="text/javascript" charset="iso-8859-1"\n src="http://nohost/plone/jscalendar/calendar-en.js">\n </script>\n \n \n \n\n </head>\n\n <body class="section-portal_factory template-atct_edit"\n dir="ltr">\n <div id="visual-portal-wrapper">\n\n <div id="portal-top">\n <div id="portal-header">\n<p class="hiddenStructure">\n <a accesskey="2"\n href="http://nohost/plone/portal_factory/Document/document.2009-10-29.3122170938/edit#documentContent">Skip to content.</a> |\n\n <a accesskey="6"\n href="http://nohost/plone/portal_factory/Document/document.2009-10-29.3122170938/edit#portlet-navigation-tree">Skip to navigation</a>\n</p>\n\n<ul id="portal-siteactions">\n\n <li id="siteaction-sitemap"><a\n href="http://nohost/plone/sitemap" accesskey="3"\n title="Site Map">Site Map</a></li>\n <li id="siteaction-accessibility"><a\n href="http://nohost/plone/accessibility-info"\n accesskey="0" title="Accessibility">Accessibility</a></li>\n <li id="siteaction-contact"><a\n href="http://nohost/plone/contact-info" accesskey="9"\n title="Contact">Contact</a></li>\n <li id="siteaction-plone_setup"><a\n href="http://nohost/plone/plone_control_panel"\n accesskey="" title="Site Setup">Site Setup</a></li>\n\n</ul>\n\n<div id="portal-searchbox">\n <form name="searchform"\n action="http://nohost/plone/search">\n\n <label for="searchGadget" class="hiddenStructure">Search Site</label>\n\n <div class="LSBox">\n <input name="SearchableText" type="text" size="18"\n title="Search Site" accesskey="4"\n class="inputLabel" id="searchGadget" />\n\n <input class="searchButton" type="submit"\n value="Search" />\n \n <div class="searchSection">\n <input id="searchbox_currentfolder_only"\n class="noborder" type="checkbox"\n name="path"\n value="/plone/portal_factory/Document" />\n <label for="searchbox_currentfolder_only"\n style="cursor: pointer">\n only in current section\n </label>\n </div>\n\n <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div>\n </div>\n </form>\n\n <div id="portal-advanced-search" class="hiddenStructure">\n <a href="http://nohost/plone/search_form"\n accesskey="5">\n Advanced Search…\n </a>\n </div>\n\n</div>\n\n<a id="portal-logo" accesskey="1" href="http://nohost/plone">\n <img src="http://nohost/plone/logo.jpg" alt="" title="Plone" height="57" width="252" /></a>\n\n\n <h5 class="hiddenStructure">Sections</h5>\n\n <ul id="portal-globalnav">\n <li id="portaltab-index_html" class="selected"><a\n href="http://nohost/plone" title="">Home</a></li>\n <li id="portaltab-Members" class="plain"><a\n href="http://nohost/plone/Members"\n title="Container for users\' home directories">Users</a></li>\n <li id="portaltab-news" class="plain"><a\n href="http://nohost/plone/news" title="Site News">News</a></li>\n <li id="portaltab-events" class="plain"><a\n href="http://nohost/plone/events" title="Site Events">Events</a></li>\n <li id="portaltab-a-folder" class="plain"><a\n href="http://nohost/plone/a-folder" title="">a folder</a></li>\n </ul>\n\n</div>\n\n<div id="portal-personaltools-wrapper">\n\n<h5 class="hiddenStructure">Personal tools</h5>\n\n<ul id="portal-personaltools" class="visualInline">\n \n <li><a id="user-name"\n href="http://nohost/plone/dashboard"><img src="http://nohost/plone/user.gif" alt="" title="User" height="16" width="16" />\n <span class="visualCaseSensitive">John Doe</span></a></li>\n \n\n \n <li>\n <a href="http://nohost/plone/logout">Log out</a>\n </li>\n \n\n</ul>\n</div>\n\n\n \n\n\n<div id="portal-breadcrumbs">\n\n <span id="breadcrumbs-you-are-here">You\nare here:</span>\n <a href="http://nohost/plone">Home</a>\n <span class="breadcrumbSeparator">\n →\n \n </span>\n <span dir="ltr">\n \n \n \n <span>[\xc2\xb7\xc2\xb7\xc2\xb7]</span>\n \n </span>\n\n</div>\n\n </div>\n\n <div class="visualClear" id="clear-space-before-wrapper-table"><!-- --></div>\n\n <table id="portal-columns">\n <tbody>\n <tr>\n \n \n \n\n \n <td id="portal-column-content">\n\n \n <div class="">\n\n \n\n\n <div id="region-content" class="documentContent">\n\n <span id="contentTopLeft"></span>\n <span id="contentTopRight"></span>\n \n <a name="documentContent"></a>\n\n \n\n <dl class="portalMessage info" id="kssPortalMessage" style="display:none">\n <dt>Info</dt>\n <dd></dd>\n </dl>\n\n\n \n <div id="viewlet-above-content"><div id="plone-lock-status">\n \n</div>\n</div>\n\n \n \n \n \n \n \n \n <div>\n \n <h1 class="documentFirstHeading">\n Add\n <span> Page </span>\n </h1>\n \n\n\n\n \n\n \n \n\n </div>\n \n \n <div>\n \n <p class="discreet">A page in the site. Can contain rich text.</p>\n \n </div>\n \n \n <div>\n <form name="edit_form" method="post"\n enctype="multipart/form-data"\n class="enableUnloadProtection enableAutoFocus enableFormTabbing enableUnlockProtection"\n action="http://nohost/plone/portal_factory/Document/document.2009-10-29.3122170938/atct_edit"\n id="document-base-edit">\n \n \n \n\n \n \n \n \n <fieldset id="fieldset-default">\n <legend id="fieldsetlegend-default">Default</legend>\n \n \n \n \n \n <input type="hidden" name="id"\n value="document.2009-10-29.3122170938" />\n \n \n \n \n \n \n \n \n <div class="field ArchetypesStringWidget kssattr-atfieldname-title"\n id="archetypes-fieldname-title">\n <span></span>\n <label class="formQuestion" for="title">Title</label>\n <span class="fieldRequired" title="Required">\n (Required)\n </span>\n <div class="formHelp" id="title_help"></div>\n \n <div class="fieldErrorBox"></div>\n <input type="text" name="title"\n class="blurrable firstToFocus" id="title"\n value="" size="30" maxlength="255" />\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesTextAreaWidget kssattr-atfieldname-description"\n id="archetypes-fieldname-description">\n <span></span>\n <label class="formQuestion" for="description">Description</label>\n \n <div class="formHelp" id="description_help">A short summary of the content.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n\n <textarea class="blurrable firstToFocus" rows="5"\n name="description" cols="40"\n id="description"></textarea>\n\n \n\n \n\n \n \n \n \n\n \n \n <input type="hidden"\n name="description_text_format"\n value="text/plain" />\n \n \n \n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesRichWidget kssattr-atfieldname-text"\n id="archetypes-fieldname-text">\n <span></span>\n <label class="formQuestion" for="text">Body Text</label>\n \n <div class="formHelp" id="text_help"></div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n \n\n\n\n\n <input type="hidden" id="text_text_format"\n value="text/html" name="text_text_format" />\n\n\n \n \n \n \n \n <div>\n \n <div id="kupu-editor-text">\n \n \n\n <div>\n \n \n \n <textarea cols="40" rows="25" name="text" id="text"></textarea>\n <input type="hidden" name="text_text_format:default"\n value="text/html" />\n \n \n <div class="kupuoverride" style="float:left;">\n <span class="discreet"></span>\n </div>\n \n \n </div>\n \n </div>\n \n</div>\n \n \n \n <div class="fieldUploadFile">\n <span class="discreet">or upload a file (existing content will be replaced)</span>\n <input type="file" size="30" name="text_file"\n id="text_file" />\n </div>\n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-categorization">\n <legend id="fieldsetlegend-categorization">Categorization</legend>\n \n \n \n \n <div class="field ArchetypesKeywordWidget kssattr-atfieldname-subject"\n id="archetypes-fieldname-subject">\n <span></span>\n <label class="formQuestion" for="subject">Categories</label>\n \n <div class="formHelp" id="subject_help">Also known as keywords, tags or labels, these help you categorize your content.</div>\n \n <div class="fieldErrorBox"></div>\n \n\n \n <div style="width: 45%; float: right;">\n <span>New categories</span>\n <br />\n <textarea id="subject_keywords"\n name="subject_keywords:lines" rows="11"\n cols="15" wrap="off"></textarea>\n\n </div>\n \n\n <div style="width: 45%">\n <span>\n Existing categories\n </span>\n\n <br />\n\n <select id="subject_existing_keywords"\n name="subject_existing_keywords:list"\n size="14" multiple="multiple">\n </select>\n\n <input type="hidden" value=""\n name="subject_existing_keywords:default:list" />\n\n\n </div>\n\n <div class="visualClear"><!-- --></div>\n\n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesReferenceBrowserWidget kssattr-atfieldname-relatedItems"\n id="archetypes-fieldname-relatedItems">\n <span></span>\n <label class="formQuestion" for="relatedItems">Related Items</label>\n \n <div class="formHelp" id="relatedItems_help"></div>\n \n <div class="fieldErrorBox"></div>\n \n \n\n <input type="hidden" value=""\n name="relatedItems:default:list" />\n\n \n \n <div style="float: left">\n<!-- This should be enabled if we can remove it when an item is inserted.\n <p class="discreet"\n tal:condition="not: targets">No items currently selected</p>\n-->\n <ul class="visualNoMarker" id="relatedItems">\n </ul>\n </div>\n \n <div style="clear: both">\n <input type="button" class="searchButton"\n value="Add..."\n onclick="javascript:referencebrowser_openBrowser(\'http://nohost/plone\',\'relatedItems\', \'/plone/portal_factory/Document/document.2009-10-29.3122170938\', \'relatedItems\')" />\n \n </div>\n <!-- Todo? -->\n \n \n\n \n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesStringWidget kssattr-atfieldname-location"\n id="archetypes-fieldname-location">\n <span></span>\n <label class="formQuestion" for="location">Location</label>\n \n <div class="formHelp" id="location_help">The geographical location associated with the item, if applicable.</div>\n \n <div class="fieldErrorBox"></div>\n <input type="text" name="location"\n class="blurrable firstToFocus"\n id="location" value="" size="30"\n maxlength="255" />\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesLanguageWidget kssattr-atfieldname-language"\n id="archetypes-fieldname-language">\n <span></span>\n <label class="formQuestion" for="language">Language</label>\n \n <div class="formHelp" id="language_help"></div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n <!-- Pulldown when longer -->\n <select name="language" id="language">\n <option value="">Language neutral (site default)</option>\n <option value="ab">Abkhazian</option>\n <option value="aa">Afar</option>\n <option value="af">Afrikaans</option>\n <option value="sq">Albanian</option>\n <option value="am">Amharic</option>\n <option value="ar">Arabic</option>\n <option value="hy">Armenian</option>\n <option value="as">Assamese</option>\n <option value="ay">Aymara</option>\n <option value="az">Azerbaijani</option>\n <option value="ba">Bashkir</option>\n <option value="eu">Basque</option>\n <option value="be">Belarussian</option>\n <option value="bn">Bengali</option>\n <option value="bh">Bihari</option>\n <option value="bi">Bislama</option>\n <option value="bs">Bosnian</option>\n <option value="br">Breton</option>\n <option value="bg">Bulgarian</option>\n <option value="my">Burmese</option>\n <option value="km">Cambodian/Khmer</option>\n <option value="ca">Catalan</option>\n <option value="zh">Chinese</option>\n <option value="kw">Cornish</option>\n <option value="co">Corsican</option>\n <option value="hr">Croatian</option>\n <option value="cs">Czech</option>\n <option value="da">Danish</option>\n <option value="nl">Dutch</option>\n <option value="en">English</option>\n <option value="eo">Esperanto</option>\n <option value="et">Estonian</option>\n <option value="fo">Faroese</option>\n <option value="fj">Fiji</option>\n <option value="fi">Finnish</option>\n <option value="fr">French</option>\n <option value="fy">Frisian</option>\n <option value="gl">Galician</option>\n <option value="ka">Georgian</option>\n <option value="de">German</option>\n <option value="el">Greek</option>\n <option value="kl">Greenlandic</option>\n <option value="gn">Guarani</option>\n <option value="gu">Gujarati</option>\n <option value="ha">Hausa</option>\n <option value="he">Hebrew</option>\n <option value="hi">Hindi</option>\n <option value="hu">Hungarian</option>\n <option value="is">Icelandic</option>\n <option value="dz">Indian Bhutani</option>\n <option value="id">Indonesian</option>\n <option value="ia">Interlingua</option>\n <option value="ie">Interlingue</option>\n <option value="iu">Inuktitut</option>\n <option value="ik">Inupiak</option>\n <option value="ga">Irish Gaelic</option>\n <option value="it">Italian</option>\n <option value="ja">Japanese</option>\n <option value="jw">Javanese</option>\n <option value="kn">Kannada</option>\n <option value="ks">Kashmiri</option>\n <option value="kk">Kazakh</option>\n <option value="ky">Kirghiz</option>\n <option value="rn">Kirundi</option>\n <option value="rw">Kiyarwanda</option>\n <option value="ko">Korean</option>\n <option value="ku">Kurdish</option>\n <option value="lo">Laotian</option>\n <option value="la">Latin</option>\n <option value="lv">Latvian</option>\n <option value="li">Limburgish</option>\n <option value="ln">Lingala</option>\n <option value="lt">Lithuanian</option>\n <option value="lb">Luxemburgish</option>\n <option value="mk">Macedonian</option>\n <option value="mg">Madagascarian</option>\n <option value="ms">Malay</option>\n <option value="ml">Malayalam</option>\n <option value="mt">Maltese</option>\n <option value="gv">Manx Gaelic</option>\n <option value="mi">Maori</option>\n <option value="mr">Marathi</option>\n <option value="mo">Moldavian</option>\n <option value="mn">Mongolian</option>\n <option value="me">Montenegrin</option>\n <option value="na">Nauruan</option>\n <option value="ne">Nepali</option>\n <option value="se">Northern S\xc3\xa1mi</option>\n <option value="no">Norwegian</option>\n <option value="nn">Nynorsk</option>\n <option value="oc">Occitan</option>\n <option value="or">Oriya</option>\n <option value="om">Oromo</option>\n <option value="ps">Pashto</option>\n <option value="fa">Persian</option>\n <option value="pl">Polish</option>\n <option value="pt">Portuguese</option>\n <option value="pa">Punjabi</option>\n <option value="qu">Quechua</option>\n <option value="rm">Rhaeto-Romance</option>\n <option value="ro">Romanian</option>\n <option value="ru">Russian</option>\n <option value="sm">Samoan</option>\n <option value="sg">Sangho</option>\n <option value="sa">Sanskrit</option>\n <option value="gd">Scottish Gaelic</option>\n <option value="sr">Serbian</option>\n <option value="sh">Serbo-Croatian</option>\n <option value="st">Sesotho</option>\n <option value="tn">Setswana</option>\n <option value="sn">Shona</option>\n <option value="sd">Sindhi</option>\n <option value="si">Singhalese</option>\n <option value="ss">Siswati</option>\n <option value="sk">Slovak</option>\n <option value="sl">Slovenian</option>\n <option value="so">Somali</option>\n <option value="es">Spanish</option>\n <option value="su">Sudanese</option>\n <option value="sw">Swahili</option>\n <option value="sv">Swedish</option>\n <option value="tg">Tadjik</option>\n <option value="tl">Tagalog</option>\n <option value="ta">Tamil</option>\n <option value="tt">Tatar</option>\n <option value="te">Telugu</option>\n <option value="th">Thai</option>\n <option value="bo">Tibetan</option>\n <option value="ti">Tigrinya</option>\n <option value="to">Tonga</option>\n <option value="ts">Tsonga</option>\n <option value="tr">Turkish</option>\n <option value="tk">Turkmen</option>\n <option value="tw">Twi</option>\n <option value="ug">Uigur</option>\n <option value="uk">Ukrainian</option>\n <option value="ur">Urdu</option>\n <option value="uz">Uzbek</option>\n <option value="vi">Vietnamese</option>\n <option value="vo">Volap\xc3\xbck</option>\n <option value="wa">Walloon</option>\n <option value="cy">Welsh</option>\n <option value="wo">Wolof</option>\n <option value="xh">Xhosa</option>\n <option value="yi">Yiddish</option>\n <option value="yo">Yorouba</option>\n <option value="za">Zhuang</option>\n <option value="zu">Zulu</option>\n </select>\n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-dates">\n <legend id="fieldsetlegend-dates">Dates</legend>\n \n \n \n \n <div class="field ArchetypesCalendarWidget kssattr-atfieldname-effectiveDate"\n id="archetypes-fieldname-effectiveDate">\n <span></span>\n <label class="formQuestion" for="effectiveDate">Publishing Date</label>\n \n <div class="formHelp" id="effectiveDate_help">The date when the item will be published. If no date is selected the item will be published immediately.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n <div class="plone_jscalendar">\n\n <input type="hidden" name="effectiveDate"\n id="edit_form_effectiveDate_0" />\n \n \n <span>\n <select name="effectiveDate_year"\n id="edit_form_effectiveDate_0_year"\n size="1">\n <option value="0000" selected="selected">--</option>\n <option value="2001">2001</option>\n <option value="2002">2002</option>\n <option value="2003">2003</option>\n <option value="2004">2004</option>\n <option value="2005">2005</option>\n <option value="2006">2006</option>\n <option value="2007">2007</option>\n <option value="2008">2008</option>\n <option value="2009">2009</option>\n <option value="2010">2010</option>\n <option value="2011">2011</option>\n <option value="2012">2012</option>\n <option value="2013">2013</option>\n <option value="2014">2014</option>\n\n </select>\n </span>\n\n \n\n <span>/</span>\n\n <span>\n <select name="effectiveDate_month"\n id="edit_form_effectiveDate_0_month" size="1">\n <option value="00" selected="selected">--</option>\n <option value="01">January</option>\n <option value="02">February</option>\n <option value="03">March</option>\n <option value="04">April</option>\n <option value="05">May</option>\n <option value="06">June</option>\n <option value="07">July</option>\n <option value="08">August</option>\n <option value="09">September</option>\n <option value="10">October</option>\n <option value="11">November</option>\n <option value="12">December</option>\n </select>\n </span>\n\n <span>/</span>\n\n <select name="effectiveDate_day"\n id="edit_form_effectiveDate_0_day" size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="01">1</option>\n <option value="02">2</option>\n <option value="03">3</option>\n <option value="04">4</option>\n <option value="05">5</option>\n <option value="06">6</option>\n <option value="07">7</option>\n <option value="08">8</option>\n <option value="09">9</option>\n <option value="10">10</option>\n <option value="11">11</option>\n <option value="12">12</option>\n <option value="13">13</option>\n <option value="14">14</option>\n <option value="15">15</option>\n <option value="16">16</option>\n <option value="17">17</option>\n <option value="18">18</option>\n <option value="19">19</option>\n <option value="20">20</option>\n <option value="21">21</option>\n <option value="22">22</option>\n <option value="23">23</option>\n <option value="24">24</option>\n <option value="25">25</option>\n <option value="26">26</option>\n <option value="27">27</option>\n <option value="28">28</option>\n <option value="29">29</option>\n <option value="30">30</option>\n <option value="31">31</option>\n\n </select>\n\n <a onclick="return plone.jscalendar.show(\'#edit_form_effectiveDate_0\', 0000, 2014)"><img src="http://nohost/plone/popup_calendar.gif" alt="" title="Calendar" height="16" width="16" /></a>\n \n\n <span>\n <select name="effectiveDate_hour"\n id="edit_form_effectiveDate_0_hour"\n size="1">\n\n <option value="12" selected="selected">--</option>\n <option value="12">12</option>\n <option value="01">01</option>\n <option value="02">02</option>\n <option value="03">03</option>\n <option value="04">04</option>\n <option value="05">05</option>\n <option value="06">06</option>\n <option value="07">07</option>\n <option value="08">08</option>\n <option value="09">09</option>\n <option value="10">10</option>\n <option value="11">11</option>\n\n </select>\n </span>\n\n \n\n <span>:</span>\n\n <span>\n <select name="effectiveDate_minute"\n id="edit_form_effectiveDate_0_minute"\n size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="00">00</option>\n <option value="05">05</option>\n <option value="10">10</option>\n <option value="15">15</option>\n <option value="20">20</option>\n <option value="25">25</option>\n <option value="30">30</option>\n <option value="35">35</option>\n <option value="40">40</option>\n <option value="45">45</option>\n <option value="50">50</option>\n <option value="55">55</option>\n\n </select>\n </span>\n\n \n\n\n <span>\n <select name="effectiveDate_ampm"\n id="edit_form_effectiveDate_0_ampm" size="1">\n\n <option value="AM" selected="selected">--</option>\n <option value="AM">AM</option>\n <option value="PM">PM</option>\n\n </select>\n </span>\n\n \n </div>\n \n \n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesCalendarWidget kssattr-atfieldname-expirationDate"\n id="archetypes-fieldname-expirationDate">\n <span></span>\n <label class="formQuestion" for="expirationDate">Expiration Date</label>\n \n <div class="formHelp" id="expirationDate_help">The date when the item expires. This will automatically make the item invisible for others at the given date. If no date is chosen, it will never expire.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n <div class="plone_jscalendar">\n\n <input type="hidden" name="expirationDate"\n id="edit_form_expirationDate_1" />\n \n \n <span>\n <select name="expirationDate_year"\n id="edit_form_expirationDate_1_year"\n size="1">\n <option value="0000" selected="selected">--</option>\n <option value="2001">2001</option>\n <option value="2002">2002</option>\n <option value="2003">2003</option>\n <option value="2004">2004</option>\n <option value="2005">2005</option>\n <option value="2006">2006</option>\n <option value="2007">2007</option>\n <option value="2008">2008</option>\n <option value="2009">2009</option>\n <option value="2010">2010</option>\n <option value="2011">2011</option>\n <option value="2012">2012</option>\n <option value="2013">2013</option>\n <option value="2014">2014</option>\n\n </select>\n </span>\n\n \n\n <span>/</span>\n\n <span>\n <select name="expirationDate_month"\n id="edit_form_expirationDate_1_month" size="1">\n <option value="00" selected="selected">--</option>\n <option value="01">January</option>\n <option value="02">February</option>\n <option value="03">March</option>\n <option value="04">April</option>\n <option value="05">May</option>\n <option value="06">June</option>\n <option value="07">July</option>\n <option value="08">August</option>\n <option value="09">September</option>\n <option value="10">October</option>\n <option value="11">November</option>\n <option value="12">December</option>\n </select>\n </span>\n\n <span>/</span>\n\n <select name="expirationDate_day"\n id="edit_form_expirationDate_1_day" size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="01">1</option>\n <option value="02">2</option>\n <option value="03">3</option>\n <option value="04">4</option>\n <option value="05">5</option>\n <option value="06">6</option>\n <option value="07">7</option>\n <option value="08">8</option>\n <option value="09">9</option>\n <option value="10">10</option>\n <option value="11">11</option>\n <option value="12">12</option>\n <option value="13">13</option>\n <option value="14">14</option>\n <option value="15">15</option>\n <option value="16">16</option>\n <option value="17">17</option>\n <option value="18">18</option>\n <option value="19">19</option>\n <option value="20">20</option>\n <option value="21">21</option>\n <option value="22">22</option>\n <option value="23">23</option>\n <option value="24">24</option>\n <option value="25">25</option>\n <option value="26">26</option>\n <option value="27">27</option>\n <option value="28">28</option>\n <option value="29">29</option>\n <option value="30">30</option>\n <option value="31">31</option>\n\n </select>\n\n <a onclick="return plone.jscalendar.show(\'#edit_form_expirationDate_1\', 0000, 2014)"><img src="http://nohost/plone/popup_calendar.gif" alt="" title="Calendar" height="16" width="16" /></a>\n \n\n <span>\n <select name="expirationDate_hour"\n id="edit_form_expirationDate_1_hour"\n size="1">\n\n <option value="12" selected="selected">--</option>\n <option value="12">12</option>\n <option value="01">01</option>\n <option value="02">02</option>\n <option value="03">03</option>\n <option value="04">04</option>\n <option value="05">05</option>\n <option value="06">06</option>\n <option value="07">07</option>\n <option value="08">08</option>\n <option value="09">09</option>\n <option value="10">10</option>\n <option value="11">11</option>\n\n </select>\n </span>\n\n \n\n <span>:</span>\n\n <span>\n <select name="expirationDate_minute"\n id="edit_form_expirationDate_1_minute"\n size="1">\n\n <option value="00" selected="selected">--</option>\n <option value="00">00</option>\n <option value="05">05</option>\n <option value="10">10</option>\n <option value="15">15</option>\n <option value="20">20</option>\n <option value="25">25</option>\n <option value="30">30</option>\n <option value="35">35</option>\n <option value="40">40</option>\n <option value="45">45</option>\n <option value="50">50</option>\n <option value="55">55</option>\n\n </select>\n </span>\n\n \n\n\n <span>\n <select name="expirationDate_ampm"\n id="edit_form_expirationDate_1_ampm"\n size="1">\n\n <option value="AM" selected="selected">--</option>\n <option value="AM">AM</option>\n <option value="PM">PM</option>\n\n </select>\n </span>\n\n \n </div>\n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-ownership">\n <legend id="fieldsetlegend-ownership">Ownership</legend>\n \n <div>\n \n \n <div class="field ArchetypesLinesWidget kssattr-atfieldname-creators"\n id="archetypes-fieldname-creators">\n <span></span>\n <label class="formQuestion" for="creators">Creators</label>\n \n <div class="formHelp" id="creators_help">Persons responsible for creating the content of this item. Please enter a list of user names, one per line. The principal creator should come first.</div>\n \n <div class="fieldErrorBox"></div>\n <div>\n <textarea rows="3" cols="40"\n name="creators:lines" id="creators">test_user_1_</textarea>\n </div>\n </div>\n \n\n \n\n \n </div>\n \n \n <div>\n \n \n <div class="field ArchetypesLinesWidget kssattr-atfieldname-contributors"\n id="archetypes-fieldname-contributors">\n <span></span>\n <label class="formQuestion" for="contributors">Contributors</label>\n \n <div class="formHelp" id="contributors_help">The names of people that have contributed to this item. Each contributor should be on a separate line.</div>\n \n <div class="fieldErrorBox"></div>\n <div>\n <textarea rows="5" cols="40"\n name="contributors:lines"\n id="contributors"></textarea>\n </div>\n </div>\n \n\n \n\n \n </div>\n \n \n \n \n \n <div class="field ArchetypesTextAreaWidget kssattr-atfieldname-rights"\n id="archetypes-fieldname-rights">\n <span></span>\n <label class="formQuestion" for="rights">Rights</label>\n \n <div class="formHelp" id="rights_help">Copyright statement or other rights information on this item.</div>\n \n <div class="fieldErrorBox"></div>\n \n \n \n\n <textarea class="blurrable firstToFocus" rows="5"\n name="rights" cols="40" id="rights"></textarea>\n\n \n\n \n\n \n \n \n \n\n \n \n <input type="hidden" name="rights_text_format"\n value="text/html" />\n \n \n \n \n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n <fieldset id="fieldset-settings">\n <legend id="fieldsetlegend-settings">Settings</legend>\n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-allowDiscussion"\n id="archetypes-fieldname-allowDiscussion">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="allowDiscussion:boolean"\n id="allowDiscussion" />\n <input type="hidden" value=""\n name="allowDiscussion:boolean:default" />\n \n <label class="formQuestion" for="allowDiscussion">Allow comments</label>\n \n <div class="formHelp" id="allowDiscussion_help">If selected, users can add comments to this item.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-excludeFromNav"\n id="archetypes-fieldname-excludeFromNav">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="excludeFromNav:boolean"\n id="excludeFromNav" />\n <input type="hidden" value=""\n name="excludeFromNav:boolean:default" />\n \n <label class="formQuestion" for="excludeFromNav">Exclude from navigation</label>\n \n <div class="formHelp" id="excludeFromNav_help">If selected, this item will not appear in the navigation tree</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-presentation"\n id="archetypes-fieldname-presentation">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="presentation:boolean" id="presentation" />\n <input type="hidden" value=""\n name="presentation:boolean:default" />\n \n <label class="formQuestion" for="presentation">Presentation mode</label>\n \n <div class="formHelp" id="presentation_help">If selected, this will give users the ability to view the contents as presentation slides.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n \n \n \n \n <div class="field ArchetypesBooleanWidget kssattr-atfieldname-tableContents"\n id="archetypes-fieldname-tableContents">\n \n\n <input class="noborder" type="checkbox" value="on"\n name="tableContents:boolean"\n id="tableContents" />\n <input type="hidden" value=""\n name="tableContents:boolean:default" />\n \n <label class="formQuestion" for="tableContents">Table of contents</label>\n \n <div class="formHelp" id="tableContents_help">If selected, this will show a table of contents at the top of the page.</div>\n \n <div class="fieldErrorBox"></div>\n <div></div>\n </div>\n \n\n \n\n \n \n \n </fieldset>\n \n \n \n \n \n\n \n\n \n\n \n\n \n\n <div class="field editionComment"\n id="cmfeditions_version_comment_block">\n <label><span>Change note</span></label>\n <div class="formHelp"\n id="cmfeditions_version_comment_help">\n Enter a comment that describes the changes you made.\n </div>\n <input type="text"\n name="cmfeditions_version_comment"\n id="cmfeditions_version_comment"\n size="40" />\n </div>\n\n \n\n \n\n <div class="formControls">\n\t \n <input type="hidden" name="fieldsets:list"\n value="default" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="categorization" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="dates" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="ownership" />\n\t \n\t \n <input type="hidden" name="fieldsets:list"\n value="settings" />\n\t \n\n\t \n\n\t \n <input type="hidden" name="form.submitted" value="1" />\n <input type="hidden" name="add_reference.field:record" value="" />\n <input type="hidden" name="add_reference.type:record" value="" />\n <input type="hidden" name="add_reference.destination:record" value="" />\n\n \n \n \n \n \n \n \n \n \n \n \n\n \n\n \n \n \n \n\n \n <input type="hidden" name="last_referer"\n value="localhost" />\n\n \n \n \n \n <input class="context" type="submit"\n name="form.button.save" value="Save" />\n <input class="standalone" type="submit"\n name="form.button.cancel" value="Cancel" />\n \n \n\n \n \n \n\n </div>\n\n </form>\n\n </div>\n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n \n\n <span id="contentBottomLeft"></span>\n <span id="contentBottomRight"></span>\n\n </div>\n\n </div>\n\n \n </td>\n \n\n \n <td id="portal-column-two">\n <div class="visualPadding">\n \n \n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"\n class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"><dl class="portlet portletNews">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="http://nohost/plone/news" class="tile">News</a>\n <span class="portletTopRight"></span>\n </dt>\n\n \n <dd class="portletItem odd">\n\n <a href="http://nohost/plone/Members/test_user_1_/important"\n class="tile" title="">\n <img width="16" height="16" src="http://nohost/plone/newsitem_icon.gif" alt="News Item" />\n some important news!\n <span class="portletItemDetails">Oct 29, 2009</span>\n </a>\n </dd>\n \n\n <dd class="portletFooter">\n <span class="portletBottomLeft"></span>\n <a href="http://nohost/plone/news">\n More news…\n </a>\n <span class="portletBottomRight"></span>\n </dd>\n \n</dl>\n</div>\n\n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a63616c656e646172"\n class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a63616c656e646172"><dl class="portlet portletCalendar">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="?month:int=9&year:int=2009&orig_query="\n rel="nofollow" title="Previous month"\n id="calendar-previous"\n class="kssCalendarChange kssattr-year-2009 kssattr-month-9 calendarPrevious">«</a>\n\n \n October\n 2009\n \n\n <a href="?month:int=11&year:int=2009&orig_query="\n rel="nofollow" title="Next month"\n id="calendar-next"\n class="kssCalendarChange kssattr-year-2009 kssattr-month-11 calendarNext">»</a>\n <span class="portletTopRight"></span>\n </dt>\n\n <dd class="portletItem">\n <table class="ploneCalendar" summary="Calendar">\n <caption class="hiddenStructure">October</caption>\n <thead>\n <tr class="weekdays"><th scope="col">Mon</th><th\n scope="col">Tue</th><th scope="col">Wed</th><th\n scope="col">Thu</th><th scope="col">Fri</th><th\n scope="col">Sat</th><th scope="col">Sun</th>\n </tr>\n </thead>\n <tbody>\n <tr><td></td><td></td><td></td><td>1</td><td>2</td><td>3</td><td>4</td>\n </tr>\n <tr><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td><td>11</td>\n </tr>\n <tr><td>12</td><td>13</td><td>14</td><td>15</td><td>16</td><td>17</td><td>18</td>\n </tr>\n <tr><td>19</td><td>20</td><td>21</td><td>22</td><td>23</td><td>24</td><td>25</td>\n </tr>\n <tr><td>26</td><td>27</td><td>28</td><td\n class="todaynoevent"><strong>29</strong></td><td>30</td><td>31</td><td></td>\n </tr>\n </tbody>\n\n </table>\n <span class="portletBottomLeft"></span>\n <span class="portletBottomRight"></span>\n </dd>\n</dl>\n</div>\n\n\n<div class="managePortletsLink">\n <a title="View portlet management screen"\n href="http://nohost/plone/portal_factory/Document/document.2009-10-29.3122170938/@@manage-portlets">Manage portlets</a>\n</div>\n\n \n \n </div>\n </td>\n \n </tr>\n </tbody>\n </table>\n \n\n <div class="visualClear" id="clear-space-before-footer"><!-- --></div>\n \n \n\n \n\n <div id="portal-footer">\n\n<p>\n \n The\n <a href="http://plone.org">Plone<sup>®</sup> CMS — Open Source Content Management System</a>\n is\n <acronym title="Copyright">©</acronym>\n 2000-2009\n by the\n <a href="http://plone.org/foundation">Plone Foundation</a>\n et al.\n \n</p>\n\n<p>\n \n Plone<sup>®</sup> and the Plone logo are registered trademarks of the\n <a href="http://plone.org/foundation">Plone Foundation</a>.\n \n\n \n Distributed under the\n <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n \n</p>\n\n</div>\n\n <div id="portal-colophon">\n \n\n \n\n <div class="colophonWrapper">\n <ul>\n <li>\n <a href="http://plone.org"\n title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information.">\n Powered by Plone</a>\n </li>\n <li>\n <a href="http://validator.w3.org/check/referer"\n title="This site is valid XHTML.">\n Valid XHTML</a>\n </li>\n <li>\n <a href="http://jigsaw.w3.org/css-validator/check/referer&warning=no&profile=css3&usermedium=all"\n title="This site was built with valid CSS.">\n Valid CSS</a>\n </li>\n <li>\n <a href="http://www.section508.gov"\n title="This site conforms to the US Government Section 508 Accessibility Guidelines.">\n Section 508</a>\n </li>\n <li>\n <a href="http://www.w3.org/WAI/WCAG1AA-Conformance"\n title="This site conforms to the W3C-WAI Web Content Accessibility Guidelines.">\n WCAG</a>\n </li>\n </ul>\n </div>\n\n </div>\n\n\n\n \n\n <div class="visualClear"><!-- --></div>\n </div>\n<div id="kss-spinner"><img alt=""\n src="http://nohost/plone/spinner.gif" /></div>\n</body>\n</html>\n\n\n\n'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 398, in csrf.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[174]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 586, in click
self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 375, in _clickSubmit
self.mech_browser.open(form.click(
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
raise error
HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 408, in csrf.txt
Failed example:
browser.getLink('Advanced...').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[176]>", line 1, in ?
browser.getLink('Advanced...').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 409, in csrf.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/another-folder/content_status_history'
Got:
'http://nohost/plone/another-folder/'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 411, in csrf.txt
Failed example:
browser.getControl('Publish').selected = True
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[178]>", line 1, in ?
browser.getControl('Publish').selected = True
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Publish'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 412, in csrf.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[179]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 413, in csrf.txt
Failed example:
browser.contents
Expected:
'...Info...Item state changed...'
Got:
''
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 416, in csrf.txt
Failed example:
browser.getLink('Advanced...').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[181]>", line 1, in ?
browser.getLink('Advanced...').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
raise LinkNotFoundError()
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 417, in csrf.txt
Failed example:
browser.getControl(name='_authenticator').value = 'invalid!'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[182]>", line 1, in ?
browser.getControl(name='_authenticator').value = 'invalid!'
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: name '_authenticator'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 418, in csrf.txt
Failed example:
browser.getControl('Retract').selected = True
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[183]>", line 1, in ?
browser.getControl('Retract').selected = True
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Retract'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 419, in csrf.txt
Failed example:
browser.getControl('Save').click()
Expected:
Traceback (most recent call last):
...
HTTPError: HTTP Error 403: Forbidden
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[184]>", line 1, in ?
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/products/CMFPlone/tests/csrf.txt", line 434, in csrf.txt
Failed example:
browser.getControl('Retract').selected = True
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[192]>", line 1, in ?
browser.getControl('Retract').selected = True
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
raise LookupError(msg)
LookupError: label 'Retract'
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.CMFFormController.ControllerPageTemplate.ControllerPageTemplate.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.CMFFormController.ControllerPageTemplate.ControllerPageTemplate.manage_afterClone is discouraged. You should use event subscribers instead.
DeprecationWarning)
Ran 1803 tests with 2 failures and 1 errors in 169.313 seconds.
Tearing down left over layers:
Tear down Products.PloneTestCase.layer.PloneSite in 0.290 seconds.
Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
Total: 2185 tests, 2 failures, 1 errors
FAILED (failures=2, errors=1)
More information about the Testbot
mailing list