Hello,

I have installed this module in a new instance. I don't have any other setup for anything.

I am getting these notices when I am trying to create quiz.

    Notice: Undefined property: stdClass::$auto_update_max_score in _quiz_add_questions_to_form() (line 1068 of C:\xampp\htdocs\quiz\sites\all\modules\quiz\quiz.admin.inc).
    Notice: Undefined property: stdClass::$auto_update_max_score in _quiz_add_questions_to_form() (line 1068 of C:\xampp\htdocs\quiz\sites\all\modules\quiz\quiz.admin.inc).
    Notice: Undefined property: stdClass::$auto_update_max_score in _quiz_add_questions_to_form() (line 1068 of C:\xampp\htdocs\quiz\sites\all\modules\quiz\quiz.admin.inc).
CommentFileSizeAuthor
#7 auto_update_max_score.patch522 byteskyuubi

Comments

sivaji_ganesh_jojodae’s picture

Status: Active » Postponed (maintainer needs more info)

Run update.php. If you still reproduce this issue let us know.

sivaji_ganesh_jojodae’s picture

Status: Postponed (maintainer needs more info) » Fixed

I'm able to reproduce as well, just committed a fix to git cc7c31f..37fd24e.

rajeevk’s picture

I ran update.php, do I have to apply patch separately, if yes then where will I get ?

Thanks

antoinetooley’s picture

Is there a patch for this yet?
thanks :)

kslagboom’s picture

Looks like patch/changes that fix this issue are here:
http://drupalcode.org/project/quiz.git/commitdiff/37fd24eeafe4e0be166df9...

I simply copied and replaced the code for quiz.admin.inc and tested it. Errors have gone away.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kyuubi’s picture

Status: Closed (fixed) » Patch (to be ported)
StatusFileSize
new522 bytes

Hello,

This issue is still present in the current release.

Is there any possibility to commit the fix?

Patch in attachment.

  • Commit 37fd24e on 7.x-4.x, 7.x-5.x by sivaji:
    Issue #1935944 by Rajeevkr: Fixed Undefined property: stdClass Notice.
    

  • Commit 37fd24e on 7.x-4.x, 7.x-5.x, quiz-pages by sivaji:
    Issue #1935944 by Rajeevkr: Fixed Undefined property: stdClass Notice.
    

  • Commit 37fd24e on 7.x-4.x, 7.x-5.x, quiz-pages, 2269219 by sivaji:
    Issue #1935944 by Rajeevkr: Fixed Undefined property: stdClass Notice.
    

  • Commit 37fd24e on 7.x-4.x, 7.x-5.x, 2269219 by sivaji:
    Issue #1935944 by Rajeevkr: Fixed Undefined property: stdClass Notice.
    

  • sivaji committed 37fd24e on 7.x-6.x
    Issue #1935944 by Rajeevkr: Fixed Undefined property: stdClass Notice.
    
djdevin’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (outdated)

This issue is being closed because it was filed against a version that is no longer supported.

If the issue still persists in the latest version of Quiz, please open a new issue.