gocodebox / gocodebox/lifterlms

Missing image when cloning a quiz question

Open
#2,883 0 comments 0 reactions 1 assignee Assigned to @brianhogg View on GitHub
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

When cloning a question that contains an image, the image initially appears in the cloned question. However, after taking the quiz, the image disappears from the cloned question, and upon revisiting the quiz builder, the image is also missing there.

### Reproduction Steps

1. Create a quiz question and add an Image by selecting the "Image" toggle and uploading an update
2. Clone the question
3. Confirm that the image appears in the cloned question
4. Take the quiz

### Expected Behavior

The image is visible as part of the question

### Actual Behavior

The image is missing when taking the quiz (and is also in the editor on refresh)

https://share.zight.com/8LuWegBb

### Tech notes

The "image" toggle might not be saving. Check the quiz meta.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.