From 78728cb049bc66b71d76bf8a4e03c64fbeb6e533 Mon Sep 17 00:00:00 2001
From: srosse <none@none>
Date: Tue, 18 Feb 2014 15:02:41 +0100
Subject: [PATCH] OO-989: filter better for transient, updated and DB
 identities

---
 src/main/java/org/olat/admin/user/imp/UserImportController.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/olat/admin/user/imp/UserImportController.java b/src/main/java/org/olat/admin/user/imp/UserImportController.java
index 119b79335e8..8e69ff2a751 100644
--- a/src/main/java/org/olat/admin/user/imp/UserImportController.java
+++ b/src/main/java/org/olat/admin/user/imp/UserImportController.java
@@ -245,6 +245,8 @@ public class UserImportController extends BasicController {
 			if(o instanceof TransientIdentity) {
 				TransientIdentity transIdent = (TransientIdentity)o;
 				usernames.add(transIdent.getName());
+			} else if (o instanceof UpdateIdentity) {
+				identities.add(((UpdateIdentity)o).getIdentity());	
 			} else if (o instanceof Identity) {
 				identities.add((Identity)o);	
 			}
-- 
GitLab