plone / plone/plone.app.debugtoolbar
Plone hangs in debugtoolbar when trying to edit a portlet
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8
- Forks
- 5
- Avg merge
- 26m
- Merged PRs (30d)
- 1
Description
At this line:
secu_label += '. Permission: ' + secu_infos[-1][1:-11] # _x_Permission -> x
I've no idea why. Also len(secu_infos) has the same result.
Using kill -USR1 doesn't give me a stracktrace either, so I had to track this down the hard way with pdb :-(
secu_infos is <imPermissionRole object at 0x90a6970> from AccessControl version 3.0.11
I'm using:
- Plone 4.3.8
- plone.app.contenttypes 1.1
- plone.app.multilingual 2.0.2
- plone.app.portlets 2.5.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/plone/app/debugtoolbar/browser/context.py line 128 and reproduce the hang while editing a portlet with the listed Plone and AccessControl versions. Inspect how secu_infos is handled at that point and use the reported pdb behavior to identify the blocking operation; done means editing the portlet no longer hangs and the relevant debug output remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100