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

Improve documentation about traversal behavior in plone.api.content.get #442

Open
idgserpro opened this issue Sep 9, 2020 · 0 comments
Open

Comments

@idgserpro
Copy link

I just solved an intricate bug because I didn't now that plone.api.content.get uses traversal. Since you give a path as an argument, I wasn't expecting traversal in this context.

Inspired by:

plone.api comes with cookbook-like documentation and step-by-step instructions for doing common development tasks in Plone. Recipes try to assume the user does not have extensive knowledge about Plone internals.

I suggest to complement plone.api.content.get's documentation explaining about acquisition effect and, if possible, with examples of what can happen because of acquisition.

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

2 participants