Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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)


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)

20151217-NS-date-parse-error.txt (2.7 KB) - added by khgillen 8 years ago.

Download all attachments as: .zip

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.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67400 sec.)

We're Hiring!