[Zope-CMF] Topic trouble

Jeff jeff@thecolemans.ws
Tue, 27 Mar 2001 09:58:11 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_018A_01C0B6A4.6E77A340
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Help!
I added a new topic following the steps in 'CMF Dogbowl: Adding Topics =
to the CMF 1.0 Beta' =
(http://cmf.zope.org/doc/admin/AddingTopicsToTheBeta).

When logged in as 'admin' I can add a new topic.
The new topic shows up in my folder, I then selected 'New.' to get to =
the 'Add Content' page.
I entered 'First' in the 'ID' field and selected 'Add'.
The following error was displayed:
Zope ErrorZope has encountered an error while publishing this resource. =
Invalid requestThe parameter, type_name, was omitted from the request. =
Make sure to specify all required parameters, and try the request again. =
 Troubleshooting Suggestions=B7 The URL may be incorrect. =B7 The =
parameters passed to this resource may be incorrect. =B7 A resource that =
this resource relies on may be encountering an error. For more detailed =
information about the error, please refer to the HTML source for this =
page. If the error persists please contact the site maintainer. Thank =
you for your patience.=20

Traceback (innermost last):
  File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 222, =
in publish_module
  File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 187, =
in publish
  File /usr/local/zope/231b1/lib/python/Zope/__init__.py, line 221, in =
zpublisher_exception_hook
    (Object: Traversable)
  File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 171, =
in publish
  File /usr/local/zope/231b1/lib/python/ZPublisher/mapply.py, line 155, =
in mapply
    (Object: invokeFactory)
  File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 117, =
in missing_name
  File /usr/local/zope/231b1/lib/python/ZPublisher/HTTPResponse.py, line =
569, in badRequestError
BadRequest: (see above)


I then closed all browsers, hit the portal and created a new user.
Logged in as the new user, I go to 'My Stuff', select 'Topic', enter =
'new' as 'ID' and select 'Add'.
At this point I get a 'Log in' pop-up that will not accept the new users =
name and password.
If I select 'Cancel' on the log in I get the following:
Zope Error
Zope has encountered an error while publishing this resource.=20
Unauthorized
You are not authorized to access addTopic.=20
Traceback (innermost last):
  File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 222, =
in publish_module
  File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 187, =
in publish
  File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 171, =
in publish
  File /usr/local/zope/231b1/lib/python/ZPublisher/mapply.py, line 160, =
in mapply
    (Object: invokeFactory)
  File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 112, =
in call_object
    (Object: invokeFactory)
  File =
/usr/local/zope/231b1/lib/python/Products/CMFCore/PortalFolder.py, line =
368, in invokeFactory
    (Object: Traversable)
  File /usr/local/zope/231b1/lib/python/Products/CMFCore/TypesTool.py, =
line 714, in constructContent
    (Object: Traversable)
  File /usr/local/zope/231b1/lib/python/Products/CMFCore/TypesTool.py, =
line 469, in constructInstance
    (Object: ElementWithAttributes)
  File /usr/local/zope/231b1/lib/python/Products/CMFCore/TypesTool.py, =
line 443, in _getFactoryMethod
    (Object: ElementWithAttributes)
  File =
/usr/local/zope/231b1/lib/python/AccessControl/SecurityManager.py, line =
144, in validate
  File =
/usr/local/zope/231b1/lib/python/AccessControl/ZopeSecurityPolicy.py, =
line 225, in validate
Unauthorized: (see above)

=20
Troubleshooting Suggestions
=B7 The URL may be incorrect.=20
=B7 The parameters passed to this resource may be incorrect.=20
=B7 A resource that this resource relies on may be encountering an =
error.=20
For more detailed information about the error, please refer to the HTML =
source for this page.=20
If the error persists please contact the site maintainer. Thank you for =
your patience.=20



Did I miss setting a permission during the setup?

Thanks in advance.


------=_NextPart_000_018A_01C0B6A4.6E77A340
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Help!<BR>I=20
added a new topic following the steps in 'CMF Dogbowl: Adding Topics to =
the CMF=20
1.0 Beta' (<A=20
href=3D"http://cmf.zope.org/doc/admin/AddingTopicsToTheBeta">http://cmf.z=
ope.org/doc/admin/AddingTopicsToTheBeta</A>).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA">When=20
logged in as 'admin' I can add a new topic.<BR>The new topic shows up in =
my=20
folder, I then selected 'New&#8230;' to get to the 'Add Content' =
page.<BR>I entered=20
'First' in the 'ID' field and selected 'Add'.<BR>The following error was =

displayed:<BR>Zope ErrorZope has encountered an error while publishing =
this=20
resource. Invalid requestThe parameter, type_name, was omitted from the =
request.=20
Make sure to specify all required parameters, and try the request =
again.&nbsp;=20
Troubleshooting Suggestions=B7&nbsp;The URL may be incorrect. =
=B7&nbsp;The=20
parameters passed to this resource may be incorrect. =B7&nbsp;A resource =
that this=20
resource relies on may be encountering an error. For more detailed =
information=20
about the error, please refer to the HTML source for this page. If the =
error=20
persists please contact the site maintainer. Thank you for your =
patience.=20
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Traceback=20
(innermost last):<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 222, in=20
publish_module<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 187, in=20
publish<BR>&nbsp; File =
/usr/local/zope/231b1/lib/python/Zope/__init__.py, line=20
221, in zpublisher_exception_hook<BR>&nbsp;&nbsp;&nbsp; (Object:=20
Traversable)<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 171, in=20
publish<BR>&nbsp; File =
/usr/local/zope/231b1/lib/python/ZPublisher/mapply.py,=20
line 155, in mapply<BR>&nbsp;&nbsp;&nbsp; (Object: =
invokeFactory)<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 117, in=20
missing_name<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/ZPublisher/HTTPResponse.py, line 569, =
in=20
badRequestError<BR>BadRequest: (see above)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV><FONT face=3DArial =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; =
mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA">
<DIV><FONT face=3DArial size=3D2></FONT><BR>I then closed all browsers, =
hit the=20
portal and created a new user.<BR>Logged in as the new user, I go to 'My =
Stuff',=20
select 'Topic', enter 'new' as 'ID' and select 'Add'.<BR>At this point I =
get a=20
'Log in' pop-up that will not accept the new users name and =
password.<BR>If I=20
select 'Cancel' on the log in I get the following:<BR>Zope Error<BR>Zope =
has=20
encountered an error while publishing this resource. =
<BR>Unauthorized<BR>You are=20
not authorized to access addTopic. <BR>Traceback (innermost =
last):<BR>&nbsp;=20
File /usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 222, =
in=20
publish_module<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 187, in=20
publish<BR>&nbsp; File =
/usr/local/zope/231b1/lib/python/ZPublisher/Publish.py,=20
line 171, in publish<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/ZPublisher/mapply.py, line 160, in=20
mapply<BR>&nbsp;&nbsp;&nbsp; (Object: invokeFactory)<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/ZPublisher/Publish.py, line 112, in=20
call_object<BR>&nbsp;&nbsp;&nbsp; (Object: invokeFactory)<BR>&nbsp; File =

/usr/local/zope/231b1/lib/python/Products/CMFCore/PortalFolder.py, line =
368, in=20
invokeFactory<BR>&nbsp;&nbsp;&nbsp; (Object: Traversable)<BR>&nbsp; File =

/usr/local/zope/231b1/lib/python/Products/CMFCore/TypesTool.py, line =
714, in=20
constructContent<BR>&nbsp;&nbsp;&nbsp; (Object: Traversable)<BR>&nbsp; =
File=20
/usr/local/zope/231b1/lib/python/Products/CMFCore/TypesTool.py, line =
469, in=20
constructInstance<BR>&nbsp;&nbsp;&nbsp; (Object:=20
ElementWithAttributes)<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/Products/CMFCore/TypesTool.py, line =
443, in=20
_getFactoryMethod<BR>&nbsp;&nbsp;&nbsp; (Object:=20
ElementWithAttributes)<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/AccessControl/SecurityManager.py, line =
144, in=20
validate<BR>&nbsp; File=20
/usr/local/zope/231b1/lib/python/AccessControl/ZopeSecurityPolicy.py, =
line 225,=20
in validate<BR>Unauthorized: (see above)</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;<BR>Troubleshooting Suggestions<BR>=B7&nbsp;The URL may be =
incorrect.=20
<BR>=B7&nbsp;The parameters passed to this resource may be incorrect. =
<BR>=B7&nbsp;A=20
resource that this resource relies on may be encountering an error. =
<BR>For more=20
detailed information about the error, please refer to the HTML source =
for this=20
page. <BR>If the error persists please contact the site maintainer. =
Thank you=20
for your patience. </DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Did I miss setting a permission during the setup?</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>Thanks in advance.<BR></SPAN></FONT></DIV></BODY></HTML>

------=_NextPart_000_018A_01C0B6A4.6E77A340--