Edlib
Edlib copied to clipboard
Fail to create question set presentations if tags are set
Describe the bug When creating a Millionaire game or an H5P QuestionSet from a Question Set, it will fail without displaying any error if tag(s) have been added before choosing presentation
To Reproduce Steps to reproduce the behavior:
- Go to 'Create Content'
- Click on 'Question'
- Add one or more tags
- Open the browsers Developer tools
- Click the "Millionaire mini game" button at the bottom
- A popup is displayed to indicate that it's checking stuff
- The popup disappears with and displays info about added questions and answers
- No questions or answers has been added
- In Dev Tools open the Network tab, the request to get questions has fails with 500
Error message in response is cURL error 6: Could not resolve host: questionbankservice (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://questionbankservice:8104/v1/questions?keyword=something"