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

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

Bug: bin/omero -u root <action> doesn't always work

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: 0.0d
Sprint: 2012-01-17 (6)

Description

~/code/omero.git/dist $ bin/omero -u root  script replace 19251 ../components/tools/OmeroPy/scripts/omero/analysis_scripts/Run_Cecog_1.0.py 
Server: [localhost]
Username: [moore]root
Password:

"Username" should not be requested.

Change History (4)

comment:1 Changed 8 years ago by jmoore

  • Milestone changed from Unscheduled to OMERO-Beta4.4
  • Owner set to jmoore

comment:2 Changed 8 years ago by jmoore

  • Remaining Time set to 0.1
  • Sprint set to 2012-01-17 (6)
  • Status changed from new to accepted

This looks to be caused by some of the private methods overwriting the name value:

if server: server, name = self._something()

By passing in the current value of name, it should be possible to prevent this.

comment:3 Changed 8 years ago by jmoore

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed and pushed to my sprint6-server-backlog branch.

comment:4 Changed 8 years ago by jmoore <josh@…>

(In [c03ee4c7508e6d4d1cefa7761e4d4b279ba4c667/ome.git] on branch develop) Respect -u USER setting from the CLI (Fix #2864)

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.72220 sec.)

We're Hiring!