Hello,

I have a huge problem for me and i can't solve it by myself. When i create a quiz with normal questions and h5p question types and complete that quiz (doesn't matter if i complete as admin or normal user) i can't see answers for h5p questions only the question title itself and score (image for details attached). Is this a quiz bug, or i should solve it by myself somehow? Any help would be greatly appreciated :)

CommentFileSizeAuthor
#4 Untitled.png42.41 KBedcka
pu5fq.png41.43 KBedcka

Comments

edcka created an issue. See original summary.

edcka’s picture

Version: 7.x-5.0-rc1 » 7.x-4.0-rc2

I miswritten my installed version, it's 7.x-4.0-rc2 . If 5.0-dev have this fixed, how can i update it without loosing all the quizes and settings created?

edcka’s picture

I made some progress -> Only local images are allowed. .I changed h5p folder inside quiz module to the 5.0 version h5p quiz and it started to show the questions, but messed up the scores and it doesn't show the answers, instead shows the questions like they were never completed. Any suggestions?

edcka’s picture

StatusFileSize
new42.41 KB
edcka’s picture

I tried updating to 7.x 5.x -dev version of quiz, but the problem is still the same. I think there are no fields in sql database to save h5p question answers, so i guess i should create and code everything by myself?

By the way, in the result browser, if i have 3 h5p questions i get 3 same errors:
Notice: Undefined property: QuizQuestionH5PResponse::$result_id in QuizQuestionH5PResponse->score() (line 54 of ***/sites/all/modules/quiz/question_types/quiz_h5p/QuizQuestionH5PResponse.class.inc).

edcka’s picture

Priority: Normal » Critical

Sorry if iam wrong with critical, but nobody is answering for a week :( Sorry again

btopro’s picture

dono but H5P support is definitely 5.x only

djdevin’s picture

Project: Quiz » Quiz H5P
Version: 7.x-4.0-rc2 » 7.x-5.x-dev
Component: Code - Other » Code
Assigned: edcka » Unassigned
Priority: Critical » Normal

Moving issue to correct project. Not critical.