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)
Socorro
Webapp
Tracking
(Not tracked)
VERIFIED
FIXED
16
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.
Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → 16
Assignee | ||
Updated•13 years ago
|
Target Milestone: 16 → 17
Comment 1•13 years ago
|
||
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
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Target Milestone: 17 → 16
Updated•13 years ago
|
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
Comment 2•13 years ago
|
||
Schalk - can you provide a list of the requirements that you developed towards? What are valid and invalid test scenarios?
Assignee | ||
Comment 3•12 years ago
|
||
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.
Comment 4•12 years ago
|
||
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.
Description
•