fixed bug where DbMapping wasn't set correctly for anonymous users
This commit is contained in:
parent
94c4997e01
commit
65feddbf32
1 changed files with 2 additions and 1 deletions
|
@ -28,8 +28,10 @@ public class User implements Serializable {
|
|||
this.nid = null;
|
||||
this.app = app;
|
||||
setNode (null);
|
||||
umap = app.getDbMapping ("user");
|
||||
cache = new Node (sid);
|
||||
cache.setPrototype ("user");
|
||||
cache.setDbMapping (umap);
|
||||
sessionID = sid;
|
||||
onSince = System.currentTimeMillis ();
|
||||
lastTouched = onSince;
|
||||
|
@ -48,7 +50,6 @@ public class User implements Serializable {
|
|||
} else {
|
||||
uid = n.getNameOrID ();
|
||||
nid = n.getID ();
|
||||
umap = n.getDbMapping ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue