mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-05 23:28:38 +02:00
added missing properties to user converter
This commit is contained in:
@@ -44,6 +44,10 @@ import sonia.scm.orientdb.AbstractConverter;
|
||||
import sonia.scm.orientdb.Converter;
|
||||
import sonia.scm.user.User;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
@@ -138,6 +142,10 @@ public class UserConverter extends AbstractConverter implements Converter<User>
|
||||
user.setLastModified(getLongField(doc, FIELD_LASTMODIFIED));
|
||||
user.setCreationDate(getLongField(doc, FIELD_CREATIONDATE));
|
||||
|
||||
Map<String, String> properties = doc.field(FIELD_PROPERTIES);
|
||||
|
||||
user.setProperties(properties);
|
||||
|
||||
return user;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user