Unable to add image to question
Expected behaviour
When editing a question in the "in production" phase we should be able to add an image.
Current behaviour
When editing a question in the "in production" phase, we cannot add the image to the question. We get an error message that say it cannot read properties.
Steps to reproduce
- Go to the question
- Add an image
- Click save
- Error appears
Replicated by @sidorelauku on coko testing site:
Steps to reproduce the issue:
- From my Sets tab, create a new Set.
- Go to Dashboard and create a new item question
- Check
This item belongs to a Context-Dependent Item Set
- Chose the context-dependent item set created in step 1
- Submit the question item
- Move the question to status
In review
orIn production
. - Go again to
My Sets
tab and find the set you created on step 1 - Click and go to edit tab. Try to upload a photo. Although the error might not appear every time.
Testing environment
- Username of the user who experienced the problem: Teshell
- URL where the problem occurred: https://assessment.biointeractive.org/set/62b114b6-060b-447c-895e-bef4dedbc6c8
- Browser name and version: chrome
- User machine: Mac
Error logs (if available)
Possible solution
QA Steps
[To be completed by Coko]
Scheduling
[To be completed by Coko]
- Dependencies: [provide issue numbers]
- Development estimate: [provide in hours]