[DS-101] Impossible to complete Registration in JSPUI

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3611 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Andrea Bollini
2009-03-19 09:37:57 +00:00
parent c1dca2dce5
commit 2bfe661bd6
2 changed files with 3 additions and 2 deletions

View File

@@ -474,7 +474,7 @@ public class RegisterServlet extends DSpaceServlet
EPerson eperson = null;
if (email!=null) eperson = EPerson.findByEmail(context, email);
EPerson eperson2 = null;
eperson2 = EPerson.findByNetid(context, netid.toLowerCase());
if (netid!=null) eperson2 = EPerson.findByNetid(context, netid.toLowerCase());
if (eperson2 !=null) eperson = eperson2;
if (eperson == null)
@@ -485,7 +485,7 @@ public class RegisterServlet extends DSpaceServlet
context.setIgnoreAuthorization(true);
eperson = EPerson.create(context);
eperson.setEmail(email);
eperson.setNetid(netid.toLowerCase());
if (netid!=null) eperson.setNetid(netid.toLowerCase());
eperson.update();
context.setIgnoreAuthorization(false);
}

View File

@@ -97,6 +97,7 @@
- [DS-90] Workflow doesn't skipped if the wf group contains empty subgroups
- [DS-64] xmlui selection of authentication method - ID: 2086673
- [DS-83] Hardcoded behaviour of Initial question step in the submission
- [DS-101] Impossible to complete Registration in JSPUI
(Paulo Jobim)
- SF Patch [2655052] Authors re-ordered when item edited (xmlui)