Revision 7037
Added by ben leinfelder almost 13 years ago
src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java | ||
---|---|---|
716 | 716 |
for (Person p : personList) { |
717 | 717 |
// for the primary person |
718 | 718 |
if (p.getSubject().equals(subject)) { |
719 |
if (p.getVerified()) { |
|
719 |
if (p.getVerified() != null && p.getVerified()) {
|
|
720 | 720 |
// add the verified symbolic user |
721 | 721 |
if (!subjects.contains(verifiedSubject)) { |
722 | 722 |
subjects.add(verifiedSubject); |
Also available in: Unified diff
check if verified flag is null before evaluating (NPE during MN Auth test)
https://redmine.dataone.org/issues/2429