Re: [Zope-CMF] Re: Problem in TypesTool with CMF1.5.1 and Zope2.8

2005-06-13 Thread Stefan H. Holek
Alright, this particular instance contained VerboseSecurity, which  
doesn't seem to work with 2.8. Bummer.


Stefan


On 13. Jun 2005, at 13:08, yuppie wrote:

FYI: I can't reproduce this error. All tests pass for me using  
latest CMF-1_5-branch and Zope 2.8.0 final.


--
Software Engineering is Programming when you can't. --E. W. Dijkstra

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] Re: Problem in TypesTool with CMF1.5.1 and Zope2.8

2005-06-13 Thread yuppie

Stefan H. Holek wrote:
I get a whole bunch of Unauthorized errors when running CMF-1_5- branch 
tests with Zope 2.8. Interestingly, CMF HEAD does not appear  to suffer 
from the same...


Stefan


==
ERROR: test_CopyPasteSetsOwnership  
(CMFCore.tests.test_PortalContent.TestContentCopyPaste)

--
Traceback (most recent call last):
  File "/Users/zope/cmf15/Products/CMFCore/tests/ 
test_PortalContent.py", line 90, in test_CopyPasteSetsOwnership

member_area.invokeFactory('File', id='test_file')
  File "/Users/zope/cmf15/Products/CMFCore/PortalFolder.py", line  418, 
in invokeFactory

return pt.constructContent(type_name, self, id, RESPONSE, *args,  **kw)
  File "/Users/zope/cmf15/Products/CMFCore/TypesTool.py", line 929,  in 
constructContent

ob = info.constructInstance(container, id, *args, **kw)
  File "/Users/zope/cmf15/Products/CMFCore/TypesTool.py", line 338,  in 
constructInstance

raise AccessControl_Unauthorized('Cannot create %s' % self.getId())
Unauthorized: Cannot create File


FYI: I can't reproduce this error. All tests pass for me using latest 
CMF-1_5-branch and Zope 2.8.0 final.


Cheers, Yuppie

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests