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

Bug 496510

Summary: [node] "TypeError" shown when viewing the User Profile settings page
Product: [ECD] Orion Reporter: Grant Gayed <grant_gayed>
Component: NodeAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P4 CC: Carolyn_MacLeod, remy.suen, steve_northover
Version: 12.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Grant Gayed CLA 2016-06-21 16:04:36 EDT
Created attachment 262571 [details]
screenshot

- go to the Settings -> User Profile page
- red error message "TypeError" is shown (screenshot is attached)
- from the browser console:
"
VM201 manageExternalIds.js:1 GET http://localhost:8081/mixloginstatic/undefined 404 (Not Found)
"
Comment 1 Grant Gayed CLA 2016-06-21 16:06:15 EDT
Note that I'm running the server locally, so it's likely assuming single-user.
Comment 2 Remy Suen CLA 2016-11-27 06:58:28 EST
Reproduced on Windows 10.

It seems to be trying to process this URL.

http://localhost:8081/mixloginstatic/manageExternalIds.html#undefined

(anonymous function) (manageExternalIds.js:127)
settleDeferred (Deferred.js:70)
notify (Deferred.js:144)
run (Deferred.js:28)
attributes (async)
(anonymous function) ()
enqueue ()
_reject ()
Deferred.reject ()
xhr.onload ()
XMLHttpRequest.send (async)
_xhr ()
loadUserData ()
onHashChange ()
(anonymous function) ()
execCb ()
check ()
(anonymous function) ()
(anonymous function) ()
(anonymous function) ()
each ()
emit ()
check ()
enable ()
init ()
(anonymous function) ()
(anonymous function) ()
(anonymous function) ()
each ()
emit ()
check ()
enable ()
init ()
(anonymous function) ()
(anonymous function) ()
(anonymous function) ()
execCb ()
check ()
(anonymous function) ()
(anonymous function) ()
(anonymous function) ()
each ()
emit ()
check ()
enable ()
init ()
callGetModule ()
completeLoad ()
onScriptLoad ()
Comment 3 Steve Northover CLA 2017-03-30 17:10:11 EDT
It just worked for me with no error in the console.
Comment 4 Carolyn MacLeod CLA 2017-03-30 17:55:47 EDT
I have seen this before, but not recently. At the time, it seemed that we didn't handle the oauth/login process very well on any page except the main pages (i.e. either orion.eclipse.org or orionhub.org). It seemed to happen if my login timed out for some reason. To get past it, I went to another browser tab, logged in there, then went back to the failed page and refreshed, and all was well.
Comment 5 Steve Northover CLA 2017-03-31 10:17:00 EDT
> Note that I'm running the server locally, so it's likely assuming single-user.

Single user mode.  Downgrading.