Closed (fixed)
Project:
Image Target Question
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 May 2012 at 15:21 UTC
Updated:
28 Jun 2012 at 15:25 UTC
Hi. Thanks for latest fixes.
By the way, I still get this error under the following conditions:
- whenever a user takes a image question quiz and does not answer all the questions for that image.
- when the quiz is "finished", I get this error: (in my example only 4 questions were answered out of 10 i.e. the remaining 6 cross-hairs were left untouched, 4 were dragged to correct position
•Notice: Undefined offset: 1 in ImageTargetResponse->__construct() (line 616 of ...\image_target_question\image_target_question.classes.inc).
•Notice: Undefined offset: 1 in ImageTargetResponse->__construct() (line 616 of ...\image_target_question\image_target_question.classes.inc).
•Notice: Undefined offset: 1 in ImageTargetResponse->__construct() (line 616 of ...\image_target_question\image_target_question.classes.inc).
...
Notice: Undefined offset: 8 in ImageTargetResponse->getReportFormResponse() (line 760 of .\image_target_question\image_target_question.classes.inc).
Notice: Undefined offset: 8 in ImageTargetResponse->getReportFormResponse() (line 763 of .\image_target_question\image_target_question.classes.inc).
Notice: Undefined offset: 9 in ImageTargetResponse->getReportFormResponse() (line 760 of .\image_target_question\image_target_question.classes.inc).
Notice: Undefined offset: 9 in ImageTargetResponse->getReportFormResponse() (line 763 of .\image_target_question\image_target_question.classes.inc).
Notice: Undefined offset: 10 in ImageTargetResponse->getReportFormResponse() (line 760 of .\image_target_question\image_target_question.classes.inc).
Notice: Undefined offset: 10 in ImageTargetResponse->getReportFormResponse() (line 763 of .\image_target_question\image_target_question.classes.inc).
- I also get similar error when viewing results via: ..../node/quiz_nid/results where quiz_nid is the nodeid, and then clicking on the "view" link for the particular result
Comments
Comment #1
IKN commentedI am getting this exact same error when I submit an image question answer with multiple targets in it.
Notice: Undefined offset: 1 in ImageTargetResponse->__construct() (line 616
Comment #2
Matt Cooper commentedI'm looking into this now
Comment #3
Matt Cooper commentedPotential fix uploaded to the 7.x-4.x git.
Matt
Comment #4
Matt Cooper commented