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

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: CLI importer has omero.group=0 by default

Reported by: cxallan Owned by: cxallan
Priority: blocker Milestone: OMERO-4.4
Component: Import Version: n.a.
Keywords: n.a. Cc: jamoore, cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-05-08 (14)

Description

Having {"omero.group": 0} by default causes the CLI importer to not work correctly, with exceptions similar to:

serverExceptionClass = "ome.conditions.SecurityViolation"
message = "User 3 is not a member of group 0 and cannot login"
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at IceInternal.BasicStream$DynamicUserExceptionFactory.createAndThrow(BasicStream.java:2243)
at IceInternal.BasicStream.throwException(BasicStream.java:1632)
at IceInternal.Outgoing.throwUserException(Outgoing.java:442)
at omero.api._IAdminDelM.getEventContext(_IAdminDelM.java:1070)
at omero.api.IAdminPrxHelper.getEventContext(IAdminPrxHelper.java:1419)
at omero.api.IAdminPrxHelper.getEventContext(IAdminPrxHelper.java:1391)
at ome.formats.OMEROMetadataStoreClient.initializeServices(OMEROMetadataStoreClient.java:419)
at ome.formats.OMEROMetadataStoreClient.initialize(OMEROMetadataStoreClient.java:595)
at ome.formats.importer.ImportConfig.createStore(ImportConfig.java:283)
at ome.formats.importer.cli.CommandLineImporter.<init>(CommandLineImporter.java:96)
at ome.formats.importer.cli.CommandLineImporter.main(CommandLineImporter.java:394)

Change History (4)

comment:1 Changed 12 years ago by cxallan

  • Status changed from new to accepted

comment:2 Changed 12 years ago by cxallan

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

A fix for this issue has been pushed to the 8627_cli_importer branch:

comment:3 Changed 12 years ago by Chris Allan <callan@…>

(In [5da0276d205fc32d5467d4e9557318d2a89b1045/ome.git] on branch develop) Fix broken CLI importer. (See #8627)

comment:4 Changed 12 years ago by Josh Moore <josh.moore@…>

(In [c9f629b13aa7f13925e94fa5061dde1ee5c5253e/ome.git] on branch develop) Merge pull request #153 from chris-allan/8627_cli_importer

Fix broken CLI importer. (See #8627)

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

We're Hiring!