Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bonita
bonita-studio
Commits
006028bd
Commit
006028bd
authored
Dec 01, 2015
by
Romain Bioteau
Browse files
BS-14751 Fix npe when deleting a manager in organization
parent
24a7a971
Changes
1
Hide whitespace changes
Inline
Side-by-side
bundles/plugins/org.bonitasoft.studio.actors/src/org/bonitasoft/studio/actors/ui/wizard/page/UsersWizardPage.java
View file @
006028bd
...
...
@@ -14,6 +14,7 @@
*/
package
org.bonitasoft.studio.actors.ui.wizard.page
;
import
static
com
.
google
.
common
.
base
.
Strings
.
isNullOrEmpty
;
import
static
org
.
bonitasoft
.
studio
.
common
.
jface
.
databinding
.
UpdateStrategyFactory
.
updateValueStrategy
;
import
static
org
.
bonitasoft
.
studio
.
common
.
jface
.
databinding
.
validator
.
ValidatorFactory
.
maxLengthValidator
;
...
...
@@ -426,7 +427,7 @@ public class UsersWizardPage extends AbstractOrganizationWizardPage {
public
void
selectionChanged
(
final
SelectionChangedEvent
event
)
{
final
String
eventObject
=
(
String
)
((
StructuredSelection
)
event
.
getSelection
()).
getFirstElement
();
String
selectedManager
=
""
;
if
(!
eventObject
.
isEmpty
(
))
{
if
(!
isNullOrEmpty
(
eventObject
))
{
selectedManager
=
eventObject
;
}
final
User
selectedUser
=
(
User
)
userSingleSelectionObservable
.
getValue
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment