collective / collective/resourcemanager.ap
Can't add image to plonesite if AP is installed
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
when I add new -> image from plone and this package is installed, the store_image_metadata event breaks and prevents me from uploading an image:
```
def store_image_metadata(obj, event):
resource_id = obj.external_img_id
```
obj has not attribute external_img_id
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the repository for the store_image_metadata function and its registration as an event handler. Reproduce adding an image with the package installed, then determine how the handler should handle objects without external_img_id. Done means image uploads complete without the event raising an attribute error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100