Closed Bug 513441 Opened 15 years ago Closed 15 years ago

A design should not be allowed to win more than one prize in the same challenge

Categories

(Websites :: creative.mozilla.org, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Unassigned)

References

()

Details

Attachments

(1 file)

Attached image one design wins all
steps to reproduce:
1.Log into your MCC admin account.
2.Go to http://mcc.stage.mozilla.com/admin/challenges
3.Select any challenge from the drop-down list(eg:Challenge Number Two)
4.Set design-177 as winner 1-5
5.Click-"Edit this change"

expected result:
A design should not be allowed to win more than one among the five prizes in the same challenge

actual result:
The same design was successfully set to win the 1st,2nd,3rd and runner up prizes for the "Challenge Number Two" designer challenge.
Duplicate winners cannot be entered anymore.  Will throw an error and auto-remove the duplicate.

==

Sending        application/controllers/admin.php
Sending        application/i18n/en_US/admin.php
Sending        application/models/challenge.php
Transmitting file data ...
Committed revision 50460.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Error message-"You entered a Design ID into multiple winner fields. Removing duplicate Design IDs." is displayed and duplicates are auto-removed
Status: RESOLVED → VERIFIED
Target Milestone: 1.1 → 1.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: