Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345270

Summary: Login dialog broken
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: Szymon.Brandys, tomasz.zarna
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Screen shot none

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.