Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-08-24 22:49:04 +0000
committerAngel Avila2016-08-24 22:49:04 +0000
commit7e171a16cd44b5f5d6d21e5aa73fb54506ac06f2 (patch)
treee01254d3b37800793ca1a808127732a1ac88e2b0
parent5a517c5e73403419cbe1d2e4de50f13c5793f59f (diff)
downloadorg.eclipse.osee-7e171a16cd44b5f5d6d21e5aa73fb54506ac06f2.tar.gz
org.eclipse.osee-7e171a16cd44b5f5d6d21e5aa73fb54506ac06f2.tar.xz
org.eclipse.osee-7e171a16cd44b5f5d6d21e5aa73fb54506ac06f2.zip
refinement: Improve AbstractAtsUserService.getCurrent
-rw-r--r--plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/users/AbstractAtsUserService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/users/AbstractAtsUserService.java b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/users/AbstractAtsUserService.java
index f32be96f43..a144f0d8c7 100644
--- a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/users/AbstractAtsUserService.java
+++ b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/users/AbstractAtsUserService.java
@@ -46,6 +46,9 @@ public abstract class AbstractAtsUserService implements IAtsUserService {
}
}
}
+ if (currentUser == null) {
+ currentUser = loadUserFromDbByUserId(getCurrentUserId());
+ }
}
return currentUser;
}

Back to the top