Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345270 - Login dialog broken
Summary: Login dialog broken
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 blocker (vote)
Target Milestone: 0.2   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 09:42 EDT by John Arthorne CLA
Modified: 2011-09-01 11:42 EDT (History)
2 users (show)

See Also:


Attachments
Screen shot (19.17 KB, image/png)
2011-05-10 09:42 EDT, John Arthorne CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-05-10 09:42:17 EDT
I20110510

- Go to root page
- Click "login"

-> Login dialog has a funny error message in it.
Comment 1 John Arthorne CLA 2011-05-10 09:42:59 EDT
Created attachment 195213 [details]
Screen shot

This is on FF 4.0.1
Comment 2 John Arthorne CLA 2011-05-10 09:46:02 EDT
Also if I try to create a new user, it fails:

POST http://localhost:8085/users
	
400 Bad Request
		11ms	
firebu...rver.js (line 169)
<System>
Error: Unable to load /users status:400
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
dojo.j...ssed.js (line 10588)
Error: Unable to load /users status:400
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status);
dojo.j...ssed.js (line 10588)
Error: Unable to load /users status:400
var err = new Error("Unable to load...oArgs.url + " status:" + xhr.status); 

This build is unusable..
Comment 3 Malgorzata Janczarska CLA 2011-05-10 11:11:34 EDT
I fixed the funny error message you attached in screenshot. I can't reproduce the problem with creating users, I can create users and don't get any error. Can you provide mode detailed steps?
Can you check if you have any stack trace on server console and attach it to this bug?
Comment 4 John Arthorne CLA 2011-05-10 12:45:16 EDT
Retrying it now, the only way I can get that 400 error is if I try to create a user that already exists. Maybe that is what happened while I was trying to figure out the problem with the error message. I'll enter a separate bug.
Comment 5 Malgorzata Janczarska CLA 2011-05-11 05:40:45 EDT
(In reply to comment #4)
> Retrying it now, the only way I can get that 400 error is if I try to create a
> user that already exists. Maybe that is what happened while I was trying to
> figure out the problem with the error message. I'll enter a separate bug.
I noticed that error reporting for users was changed and login dialog wasn't reflecting the changes, that's why you didn't get a proper message that user already exists. I fixed it and now login dialog displays messages from server. I'm marking this bug fixed and see problems with creating users without a proper prompt please enter a separate bug as you proposed.