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 #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.

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

We're Hiring!