Skip to content

Commit

Permalink
avoid null pointer on create #3338
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jan 4, 2017
1 parent 37ae973 commit 5115a15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/webapp/dataverseuser.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@
<p:message for="email" display="text" />
</div>
</div>
<div class="form-group" jsf:rendered="#{DataverseUserPage.userAuthProvider.displayIdentifier}">
<!--FIXME: refactor to remove need for EDIT? userAuthProvider is null on CREATE-->
<div class="form-group" jsf:rendered="#{DataverseUserPage.editMode == 'EDIT' and DataverseUserPage.userAuthProvider.displayIdentifier}">
<!-- ORCID iD, for example -->
<label for="userPersistentId" class="col-sm-3 control-label">
<span data-toggle="tooltip" data-placement="auto right" class="tooltiplabel text-info" data-original-title="#{DataverseUserPage.userAuthProvider.persistentIdDescription}">
Expand Down

0 comments on commit 5115a15

Please sign in to comment.