Closed Bug 770878 Opened 13 years ago Closed 13 years ago

[UI] - Admin - Notify user if build date is older than one month from the current day

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: espressive, Assigned: espressive)

Details

If the user adds a version where the build date, based on the build id, is longer than one month ago from today, a notification message should be added on blur, to inform the user that, although the version will be added, builds older than a month ago will not be visible via the UI.
Target Milestone: --- → 16
Target Milestone: 16 → 17
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/71191430cf7efecca60f1c436a346a146ee6123a setting user message when buildid is older than 30 days fixes bug 770878 https://github.com/mozilla/socorro/commit/335710a69732a00fce9129b2770b1c2d448bd8a9 Merge pull request #686 from ossreleasefeed/notify-user-build-date-older-30days-770878 setting user message when buildid is older than 30 days fixes bug 770878
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: 17 → 16
Summary: [UI] - Admin - Notify user if build date is longer than one month ago → [UI] - Admin - Notify user if build date is older than one month from the current day
Schalk - can you provide a list of the requirements that you developed towards? What are valid and invalid test scenarios?
Hey Matt, sorry about that, was still meaning to add the test case. TEST CASE --------- Log in to admin area Go to branch data sources and then the Add Version(might still say Add Product) tab. In the build id field, the format is of type YYYYMMDDHHMMss. If you enter a buildid where the date (YYYYMMDD) portion is more than 30 days from today's date and then move focus away from the builid field, the label and field should be highlighted in green with the following message: "The buildid is older than 30 days. You can still add the release but, it will not be viewable from the UI." As the message states, you should still be able to add the version, with the caveat mentioned. If you resolve the date problem and the date is no longer more than 30 days in the past the, upon moving focus elsewhere, the highlighting and message should be removed.
Schalk, thank you for the most excellent comment 3. QA verified on stage - YYYYMMDD < 30 days returns, "The buildid is older than 30 days. You can still add the release but, it will not be viewable from the UI."
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.