Task #13124 (closed)
Opened 8 years ago
Closed 8 years ago
Bug: OMERO.web missing date input validation
Reported by: | khgillen | Owned by: | wmoore |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-5.2.2 |
Component: | Web | Version: | OMERO-5.2.0 |
Keywords: | n.a. | Cc: | ux@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description (last modified by khgillen)
https://trello.com/c/ix2YGNhQ/621-no-date-input-validation
OMERO.web (5.2.0) doesn't validate entered numbers in the search page.
Crash dialogue appears when non-date values are entered.
Steps to replicate:
Log into web.
Click search icon, taken to search page. (https://nightshade.openmicroscopy.org/webclient/search/)
Enter any text.
Single click in a date field.
Enter some non-date numbers.
Press search, observe crash.
File "/opt/omero/omero/OMERO-CURRENT/lib/python/omeroweb/webclient/controller/search.py", line 74, in search p[0]+" 00:00:00", "%Y-%m-%d %H:%M:%S") File "/usr/lib64/python2.6/_strptime.py", line 325, in _strptime (data_string, format)) ValueError: time data '3141592654 00:00:00' d...
Attachments (1)
Change History (4)
Changed 8 years ago by khgillen
comment:1 Changed 8 years ago by khgillen
- Description modified (diff)
comment:2 Changed 8 years ago by pwalczysko
- Component changed from General to Web
comment:3 Changed 8 years ago by jburel
- Resolution set to invalid
- Status changed from new to closed
No longer valid.