Closed Bug 513776 Opened 15 years ago Closed 14 years ago

Setting start date=end date=vote cap date=<today>,shows an incorrect error message

Categories

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

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Unassigned)

Details

Attachments

(5 files)

Attached image user message
steps to reproduce:
1.Log into your AMO account
2.Create a challenge with start date=end date=vote cap date=<today>[i.e aug 31,2009]
3.Go to http://mcc.stage.mozilla.com/challenges
4.Click on the newly created challenge.
5.notice the user message

expected result:
either challenges with start date=end date=vote cap date are not allowed OR they are handled so that user can still submit designs

actual result:

User message incorrectly shows-"This challenge ended August 31, 2009."
Attached image all dates set to today
However I was unable to reproduce this behavior
Attached image Challenge Screenshot
Could not reproduce.  See attachment.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
I was able to reproduce this behavior following the steps described in comment#0.
see: http://mcc.stage.mozilla.com/challenges/31

reopening...
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Attached image able to reproduce-09/02
setting challenge end day as next day still show the message that challenge ended.
For e.g. I created this challenge (http://mcc.stage.mozilla.com/challenges/43) with the following values:
start date: sept 2 2009 (today)
end date: sept 3 2009 (day after current day)
vote cap end date: sept 4 2009 (two days after current day)

when I go to the challenges details page (http://mcc.stage.mozilla.com/challenges/43) it gives me 'this challenge ended sept 3 2009'.
STR:
1.Have an existing challenge which has vote date to <today>
2.Create a new challenge with all the dates set to <today>
3.Check the challenge detail page for the new design.

observed behavior:
The new challenge detail page will have the incorrect user message.

additional info:
The bug happens only when there are overlapping dates.Editing them will solve the problem.


As this happens only when there are two challenges with overlapping vote cap dates.it can be addressed in 1.2
Target Milestone: 1.1 → 1.2
Displayed message now reads:

==

Uh oh! Something went wrong...

    * Another design challenge falls within this date range. De-activating this design challenge to prevent conflict on site.
Status: REOPENED → RESOLVED
Closed: 15 years ago14 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: