| Summary: | [client] Double login prompt is bad | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Boris Bokowski <bokowski> |
| Component: | Client | Assignee: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | eclipse.felipe, susan, Szymon.Brandys, tomasz.zarna |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Boris Bokowski
Right, that's pain/ Especially when you start typing your credentials and the page is reloaded. I think we should handle redirecting on the server side, instead of doing that in a browser. Gosia will surely have some ideas how to solve it :-) I've chosen option nr 2. The problem was that even on error confirmation was send to the same function. At this level there was no way to verify if the user property is not set, or if it cold not be retrieved. I added an optional second attribute to the "get" service function that indicates a function that should be notified on error. If this attribute is not added onDone() function is notified as it was before. This way it is safe for current use of the service. |