STR

1. Create a quiz with 1 attempt, allow resume
2. Login as a user and start the quiz (do not finish)
3. Log out, log back in
4. Take the quiz again

Currently we get a "you have already taken this quiz" message because it is counting the attempt in the database as finished.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

djdevin created an issue. See original summary.

djdevin’s picture

Da_Cloud’s picture

Status: Needs review » Reviewed & tested by the community

The patch looks good and solves the issue, so marking it as RTBC.

djdevin’s picture

Issue tags: +Needs tests
Da_Cloud’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
2.05 KB
1.08 KB

With just a tiny change to one of the existing tests we can add this scenario to the test scripts. Or if you really want a separate block we can just copy paste the stuff.

Status: Needs review » Needs work

The last submitted patch, 5: tests_only.patch, failed testing.

  • djdevin committed cd092b9 on 7.x-5.x
    Issue #2841068 by Da_Cloud, djdevin: User cannot resume quiz after...
djdevin’s picture

Status: Needs work » Fixed

Looks like a good approach. Fixed!

Status: Fixed » Closed (fixed)

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

djdevin’s picture

Status: Closed (fixed) » Needs work

Seems to have regressed.

djdevin’s picture

Status: Needs work » Fixed

Nevermind.

Status: Fixed » Closed (fixed)

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