Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title "subjects" makes object inaccessible #398

Open
skillfully opened this issue Feb 28, 2022 · 2 comments
Open

Title "subjects" makes object inaccessible #398

skillfully opened this issue Feb 28, 2022 · 2 comments

Comments

@skillfully
Copy link

skillfully commented Feb 28, 2022

Plone: 5.2.5
p.a.m: 5.6.3

Steps to reproduce:

  • create a vanilla Plone site with activated multilingual support and 2 languages, eg. German and English
  • create a folder with title "subjects" in one LanguageRootFolder

The folder "subjects" is created but you can not access or delete it but it is shown in foldercontents etc.
The same issue appears if you are creating a page.

@krissik
Copy link

krissik commented Jun 7, 2022

I have seen this error today (Plone 5.2.7). A user created a folder named "subjects" but this folder was not accessible. This was the error message:

Forbidden: The object at https://xyz/en/fb10/xyz/subjects has an empty or missing docstring. Objects must have a docstring to be published.
  File "ZPublisher/BaseRequest.py", line 518, in traverse
    subobject = self.traverseName(object, entry_name)
  File "ZPublisher/BaseRequest.py", line 349, in traverseName
    ob2 = adapter.publishTraverse(self, name)
  File "opt/plone/buildout-cache/eggs/plone.dexterity-2.10.5-py3.7.egg/plone/dexterity/browser/traversal.py", line 52, in publishTraverse
    request, name
  File "ZPublisher/BaseRequest.py", line 148, in publishTraverse
    "published." % URL

NotFound: subjects
  File "ZPublisher/WSGIPublisher.py", line 162, in transaction_pubevents
    yield
  File "ZPublisher/WSGIPublisher.py", line 371, in publish_module
    response = _publish(request, new_mod_info)
  File "ZPublisher/WSGIPublisher.py", line 250, in publish
    obj = request.traverse(path, validated_hook=validate_user)
  File "ZPublisher/BaseRequest.py", line 540, in traverse
    return response.forbiddenError(entry_name)
  File "ZPublisher/HTTPResponse.py", line 1009, in notFoundError
    raise exc

@jensens
Copy link
Member

jensens commented Mar 21, 2023

still an issue in Plone 6.0.2 (tested in classicUI)

@jensens jensens closed this as completed Mar 21, 2023
@jensens jensens reopened this Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants