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

Group was excluded. #1891

Merged
merged 1 commit into from
Dec 16, 2013
Merged

Group was excluded. #1891

merged 1 commit into from
Dec 16, 2013

Conversation

jburel
Copy link
Member

@jburel jburel commented Dec 12, 2013

Make sure that we always at least one group available for a user.

The problem was due to the fact that the "default" group is a "system" group. The Roles on nighthade are not correctly set

see https://trac.openmicroscopy.org.uk/ome/ticket/11813

@bpindelski
Copy link

This fixes the search-related exceptions that have been seen recently. Looks OK to merge.

joshmoore added a commit that referenced this pull request Dec 16, 2013
@joshmoore joshmoore merged commit d2b6a4c into ome:develop Dec 16, 2013
@jburel
Copy link
Member Author

jburel commented Dec 18, 2013

--no-rebase

@@ -636,7 +638,12 @@ public void connect(UserCredentials uc)
}
}
}

//to be on the safe side.
if (available.size() == 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

available.isEmpty() is an alternative, this is okay though

@jburel jburel deleted the search-crash branch February 3, 2014 10:39
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.

4 participants