Task #12572 (closed)
Opened 10 years ago
Closed 10 years ago
Bug: CLI interpets "0" as empty
Reported by: | jamoore | Owned by: | sbesson |
---|---|---|---|
Priority: | minor | Milestone: | 5.1.0-m2 |
Component: | Client | Version: | 5.0.4 |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
(ome1)jamoore@blue:/opt/ome6$ dist/bin/omero hql "select el from EventLog el where el.action = 'PASSWORD' and el.entityId = 0 order by id desc" --limit 1 -q # | Class | Id | action | entityType | event ---+-----------+--------+----------+-----------------------------+--------------- 0 | EventLogI | 412343 | PASSWORD | ome.model.meta.Experimenter | EventI:538016 (1 row) (ome1)jamoore@blue:/opt/ome6$ dist/bin/omero hql "select el from EventLog el where el.action = 'PASSWORD' and el.entityId <> 0 order by id desc" --limit 1 -q # | Class | Id | action | entityId | entityType | event ---+-----------+--------+----------+----------+-----------------------------+--------------- 0 | EventLogI | 412347 | PASSWORD | 15952 | ome.model.meta.Experimenter | EventI:538020 (1 row)
Change History (2)
comment:1 Changed 10 years ago by sbesson
- Status changed from new to accepted
comment:2 Changed 10 years ago by sbesson
- Resolution set to fixed
- Status changed from accepted to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
See https://github.com/openmicroscopy/openmicroscopy/pull/3116