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 #9230 (closed)

Opened 12 years ago

Closed 12 years ago

Bug: setdn causes NPE without argument

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-4.4
Component: Client Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-07-17 (19)

Description

setdn "" is intended to remove a dn. Passing no argument may be causing a NPE.

Change History (1)

comment:1 Changed 12 years ago by jmoore

  • Resolution set to invalid
  • Sprint set to 2012-07-17 (19)
  • Status changed from new to closed

This doesn't seem to be the case. The NPE must have come from elsewhere:

$ bin/omero ldap setdn guest
usage: bin/omero ldap setdn [-h] username dn
bin/omero ldap setdn: error: too few arguments
$ bin/omero ldap setdn guest ""
Using session 37aac196-9797-477f-bc19-6333449385b6 (root@localhost:4064). Idle timeout: 10.0 min. Current group: system
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.66673 sec.)

We're Hiring!