This is in xmlui.

From: Fábio Haertel Kochhann [mailto:[email protected]]
Sent: Monday, April 16, 2012 3:16 PM
To: Blanco, Jose
Cc: [email protected]
Subject: Re: [Dspace-tech] "login as" not quite working.

did you check dspace logs?

/dspace/log/<something.log>

I had the "page not found" problem when there was an error is my custom jsp 
syntax, which I was able to see after checking the log file
On Mon, Apr 16, 2012 at 1:51 PM, Blanco, Jose 
<[email protected]<mailto:[email protected]>> wrote:
When as an admin I try to login as another user I successfully login but I get 
a Page not found on the browser.  In order to debug this I've been trying to 
find where this happens and have not been successful.  The last thing I tried 
was  to comment out this code in administrative.js file and nothing has 
changed.  I can still login and get the Page not found display. I was expecting 
this not to work, should I be looking somewhere else.  I also cleared the cache 
using the UI, and cleared the browser history.  Here is the code I commented 
out:

       else if (cocoon.request.get("submit_login_as"))
       {
               // Login as this user.
               //assertAdministrator();
               //result = 
FlowEPersonUtils.processLoginAs(getDSContext(),getObjectModel(),epersonID);

               //      if (result != null && 
result.getOutcome().equals("success"))
               //      {
               //      // the user is loged in as another user, we can't let 
them continue on
               //      // using this flow because they might not have 
permissions. So forward
               //      // them to the homepage.
               //      cocoon.redirectTo(cocoon.request.getContextPath(),true);
               //              getDSContext().complete();
               //              cocoon.exit();
               //}
       }

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
DSpace-tech mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dspace-tech



--
----Fábio Haertel Kochhann
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to