Last modified: 2014-10-24 21:04:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72714, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70714 - time ranges should be validated to be start < end
time ranges should be validated to be start < end
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
Wikimetrics (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-11 13:56 UTC by Dan Andreescu
Modified: 2014-10-24 21:04 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Andreescu 2014-09-11 13:56:19 UTC
Example parameters that would throw an exception in the queue without this validation:

{
    "cohort": {
        ...
    }, 
    "metric": {
        "individualResults": true, 
        "name": "NamespaceEdits", 
        "end_date": "2014-06-30 00:00:00", 
        "start_date": "2014-08-12 00:00:00", 
        "timeseries": "month", 
        "namespaces": "0, 1", 
        "id": "edits"
        ...
    }, 
    ...
}
Comment 1 Gerrit Notification Bot 2014-10-10 23:58:06 UTC
Change 166157 had a related patch set uploaded by Bmansurov:
Add a timerange validator

https://gerrit.wikimedia.org/r/166157
Comment 2 Gerrit Notification Bot 2014-10-24 21:02:57 UTC
Change 166157 merged by jenkins-bot:
Add a timerange validator

https://gerrit.wikimedia.org/r/166157
Comment 3 Dan Andreescu 2014-10-24 21:04:04 UTC
Thanks Baha, fix looks great, it will be deployed Thursday October 30.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links