clone 415564 -1
reassign -1 zope2.7
thanks

zope2.7 in stable is affected as well as visible in the attached results
from the unit tests shipped with the hotfix.

A backport of the hotfix is thus needed to get a security update for
stable.

Cheers,
-- 
Jérémy Bobbio                        .''`. 
[EMAIL PROTECTED]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
Loading Zope, please stand by ... done (0.748s)
FInstalling PythonScripts ... done (0.008s)
EFFFFFFFFFFFFFFFFFF
======================================================================
ERROR: test_PythonScript_manage_proxy (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 138, in test_PythonScript_manage_proxy
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 19, in _onlyPOST
    response = self.publish('%s?%s' % (path, qstring), basic_auth, env)
  File "/usr/lib/zope2.7/lib/python/Testing/ZopeTestCase/functional.py", line 
37, in publish
    get_transaction().commit()
  File "/usr/lib/zope2.7/lib/python/ZODB/Transaction.py", line 241, in commit
    ncommitted += self._commit_objects(objects)
  File "/usr/lib/zope2.7/lib/python/ZODB/Transaction.py", line 356, in 
_commit_objects
    jar.commit(o, self)
  File "/usr/lib/zope2.7/lib/python/ZODB/Connection.py", line 454, in commit
    s=dbstore(oid,serial,p,version,transaction)
  File "/usr/lib/zope2.7/lib/python/ZODB/DemoStorage.py", line 252, in store
    raise POSException.ConflictError(serials=(oserial, serial))
ConflictError: database conflict error (serial this txn started with 0x00 
1900-01-01 00:00:00.000000, serial currently committed 0x036c911791c900dd 
2007-03-28 12:39:34.168399)

======================================================================
FAIL: test_DTMLMethod_manage_proxy (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 129, in test_DTMLMethod_manage_proxy
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_addRole (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 117, in test_addRole
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_addUser (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 53, in test_addUser
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_changeUser (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 60, in test_changeUser
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_delRoles (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 123, in test_delRoles
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_delUser (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 66, in test_delUser
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_acquiredPermissions (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 87, in test_manage_acquiredPermissions
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_addLocalRoles (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 101, in test_manage_addLocalRoles
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_changeOwnershipType (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 77, in test_manage_changeOwnershipType
    self._onlyPOST(path, success=302)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 302 != 403

======================================================================
FAIL: test_manage_changePermissions (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 96, in test_manage_changePermissions
    self._onlyPOST(path)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_delLocalRoles (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 111, in test_manage_delLocalRoles
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_permission (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 92, in test_manage_permission
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_setLocalRoles (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 106, in test_manage_setLocalRoles
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_setPermissionMapping (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 82, in test_manage_setPermissionMapping
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_setUserFolderProperties (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 46, in test_manage_setUserFolderProperties
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_manage_takeOwnership (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 72, in test_manage_takeOwnership
    self._onlyPOST(path, success=302, rpath=rpath)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 302 != 403

======================================================================
FAIL: test_userFolderAddUser (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 30, in test_userFolderAddUser
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_userFolderDelUsers (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 41, in test_userFolderDelUsers
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

======================================================================
FAIL: test_userFolderEditUser (__main__.NoGETTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_hotfix.py", line 36, in test_userFolderEditUser
    self._onlyPOST(path, qstring)
  File "test_hotfix.py", line 20, in _onlyPOST
    self.assertEqual(response.getStatus(), 403)
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 200 != 403

----------------------------------------------------------------------
Ran 20 tests in 0.482s

FAILED (failures=19, errors=1)

Attachment: signature.asc
Description: Digital signature

Reply via email to