Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close ImportProcessPrx instances (Fix #12233) #2395

Merged
merged 2 commits into from May 1, 2014

Conversation

joshmoore
Copy link
Member

Once upload is completed, the import process instance should
be closed. The HandlePrx which is returned will continue
functioning.

For testing:

  • touch a.fake
  • bin/omero import a.fake
  • bin/omero sessions group SOMEOTHERGROUP # Previously this would fail

/cc @jburel - better suggestion on logging inside of OMEROGateway?

Once upload is completed, the import process instance should
be closed. The `HandlePrx` which is returned will continue
functioning.
@bpindelski
Copy link

All looks fine here. Tested on gretzky CLI. No exceptions thrown and I can switch groups after import. Looks OK to merge (unless @jburel has comments).

@jburel
Copy link
Member

jburel commented May 1, 2014

@joshmoore: I log the error instead of printing the error
you can access the logger by doing dsFactory.getLogger() and log the error

@jburel
Copy link
Member

jburel commented May 1, 2014

Changes look good now.

jburel added a commit that referenced this pull request May 1, 2014
Close ImportProcessPrx instances (Fix #12233)
@jburel jburel merged commit 0532e07 into ome:dev_5_0 May 1, 2014
@joshmoore joshmoore deleted the 12233-close-importproc branch May 1, 2014 10:50
@joshmoore
Copy link
Member Author

--rebased-to #2413

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants