[Zope-CMF] CMF/Zope 2.4.2 Content creation bug

kamon ayeva kayeva@hotmail.com
Tue, 23 Oct 2001 13:25:22 +0000


Hello Cmf-Zopistas,

Has anyone experienced this bug ?
Our version of CMF (the Zopera.org site) is one from the CVS downloaded in 
mid Sep. (I don't have the exact date).
We just upgraded Zope to the latest version, and since then people can't 
create new content inside their member folder. From my testing, it seems you 
can edit existing content though.
You get the Zope authentication dialog box, and even if you enter your name 
and password, you can't complete the creation. (Consequently, an instance of 
the object is created but without any content.)
Here is the type of traceback I got when I tried:

  Unauthorized

  You are not authorized to access <em>editMetadata</em>.
<!--
Traceback (innermost last):
  File /isp/zope/Zope-2.4.2-src/lib/python/ZPublisher/Publish.py, line 223, 
in publish_module
  File /isp/zope/Zope-2.4.2-src/lib/python/ZPublisher/Publish.py, line 187, 
in publish
  File /isp/zope/Zope-2.4.2-src/lib/python/ZPublisher/Publish.py, line 171, 
in publish
  File /isp/zope/Zope-2.4.2-src/lib/python/ZPublisher/mapply.py, line 160, 
in mapply
    (Object: newsitem_edit)
  File /isp/zope/Zope-2.4.2-src/lib/python/ZPublisher/Publish.py, line 112, 
in call_object
    (Object: newsitem_edit)
  File /isp/zope/Zope-2.4.2-src/lib/python/Shared/DC/Scripts/Bindings.py, 
line 324, in __call__
    (Object: newsitem_edit)
  File /isp/zope/Zope-2.4.2-src/lib/python/Shared/DC/Scripts/Bindings.py, 
line 354, in _bindAndExec
    (Object: newsitem_edit)
  File 
/isp/zope/Zope-2.4.2-src/lib/python/Products/PythonScripts/PythonScript.py, 
line 363, in _exec
    (Object: newsitem_edit)
    (Info: ({'script': &lt;PythonScript instance at 8fd88a0&gt;, 'context': 
&lt;NewsItem instance at 8bbc0c0&gt;, 'container': &lt;CMFSite instance at 
8c278a0&gt;, 'traverse_subpath': []}, ('html', '1003843173', 
['G\xe9n\xe9ral'], 'gfdgdfgdfghfd\n', 'hfdhhhgfdhhhhg\n'), {}, None))
  File Script (Python), line 4, in newsitem_edit
  File /isp/zope/Zope-2.4.2-src/lib/python/Shared/DC/Scripts/Bindings.py, 
line 324, in __call__
    (Object: metadata_edit)
  File /isp/zope/Zope-2.4.2-src/lib/python/Shared/DC/Scripts/Bindings.py, 
line 354, in _bindAndExec
    (Object: metadata_edit)
  File 
/isp/zope/dedicated/www.zopera.org/Products/CMFCore/FSPythonScript.py, line 
187, in _exec
    (Object: metadata_edit)
    (Info: ({'script': &lt;FSPythonScript instance at 8f4a5a0&gt;, 
'context': &lt;NewsItem instance at 8bbc0c0&gt;, 'container': &lt;CMFSite 
instance at 8c278a0&gt;, 'traverse_subpath': []}, (), {'format': 'html', 
'description': 'gfdgdfgdfghfd\n', 'title': '1003843173', 'subject': 
['G\xe9n\xe9ral']}, (None, None, None, None, None, None, None, None, None)))
  File Script (Python), line 40, in metadata_edit
  File /isp/zope/Zope-2.4.2-src/lib/python/AccessControl/ZopeGuards.py, line 
120, in guarded_getattr
    (Object: 1003843173)
  File /isp/zope/Zope-2.4.2-src/lib/python/AccessControl/ZopeGuards.py, line 
103, in aq_validate
    (Object: 1003843173)
  File /isp/zope/Zope-2.4.2-src/lib/python/AccessControl/SecurityManager.py, 
line 149, in validate
  File 
/isp/zope/Zope-2.4.2-src/lib/python/AccessControl/ZopeSecurityPolicy.py, 
line 229, in validate
Unauthorized: (see above)

Thanks for any information.
Regards,
Kamon
Zopera Team

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp