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

Bug 526897

Summary: Electron app update not working in latest
Product: [ECD] Orion Reporter: Silenio Quarti <Silenio_Quarti>
Component: ElectronAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 16.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/265
Whiteboard:

Description Silenio Quarti CLA 2017-11-06 10:44:26 EST
The latest alpha build does not update.  

[2017-11-06 10:34:52.435] [ERROR] response - /update/resolveNewVersion?updateChannel=stable TypeError: Cannot read property 'username' of undefined
    at Object.Task (/Users/squarti/orion.app/Contents/Resources/app.asar/lib/tasks.js:102:30)
    at /Users/squarti/orion.app/Contents/Resources/app.asar/lib/update.js:70:14
    at Layer.handle [as handle_request] (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/layer.js:95:5)
    at next (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/layer.js:95:5)
    at /Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:335:12)
    at next (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:275:10)
    at responseTime (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/response-time/index.js:61:5)
    at Layer.handle [as handle_request] (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:317:13)
    at /Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:335:12)
    at next (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/express/lib/router/index.js:275:10)
    at jsonParser (/Users/squarti/orion.app/Contents/Resources/app.asar/node_modules/body-parser/lib/types/json.js:109:7)
[2017-11-06 10:35:03.967] [ERROR] response - /update/resolveNewVersion?updateChannel=stable TypeError: Cannot read property 'username' of undefined
Comment 1 Eclipse Genie CLA 2017-11-06 10:48:19 EST
GitHub Pull Request 265 created by [squarti]
https://github.com/eclipse/orion.client/pull/265