Receive error "ERROR:portalpy:Item does not exist in this folder" when running various portal scripts
- Dominant language
- Python
- Stars
- 33
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Research where this error is thrown in the portalpy module. It occurs when "accessing" portal items that are contained with a user's portal folder.
Examples of scripts that throw error:
PortalContentPost.py
PublishHostedServers.py
Currently, we tell users to ignore this error as it's a false positive. We should really re-code the portalpy functionality to avoid scripts throwing this error.
Contributor guide
Research direction
Start by locating where the error is thrown in the portalpy module, then reproduce it with PortalContentPost.py and PublishHostedServers.py. Trace how items in a user's portal folder are accessed. Done means these scripts no longer emit the false-positive "Item does not exist in this folder" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100