[DAEMON-140] system-info doesn't return ios information
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2017-11-15T03:02:16.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Appc Daemon 1.0.0 |
| Components | appcd-plugin-ios |
| Labels | n/a |
| Reporter | Feon Sua Xin Miao |
| Assignee | Chris Barber |
| Created | 2017-11-14T23:17:45.000+0000 |
| Updated | 2017-11-15T03:02:17.000+0000 |
Description
Start daemon, load http://localhost:1732/system-info/1.x/info.
ios is null.
Plugin status:
ios 1.0.0-2 external /Users/feonsua/.appcelerator/install/7.0.0-master.11/package/node_modules/appcd-plugin-ios 8.9.1 Cannot read property 'value' of null 0 / 0
appcd exec /ios/latest/info returns Cannot read property 'value' of null
appcd --debug:
2017-11-14T23:21:45.867Z appcd:plugin:external:parent error Failed to activate plugin: ios@1.0.0-2
2017-11-14T23:21:45.869Z appcd:core:websocket-session [0] 127.0.0.1:58202 /ios/latest/info 400 Cannot read property 'value' of null 836ms
2017-11-14T23:21:45.888Z appcd:core:websocket-session error { TypeError: Cannot read property 'value' of null
2017-11-14T23:21:45.888Z appcd:core:websocket-session error at then (/Users/chris/appc/ioslib/src/certs.js:46:9)
2017-11-14T23:21:45.888Z appcd:core:websocket-session error at <anonymous>
2017-11-14T23:21:45.888Z appcd:core:websocket-session error at process._tickCallback (internal/process/next_tick.js:188:7) id: 'cd35e68c-cdb7-45e9-89bf-3e5e3d31bba5' }
Same happens to [~ewieber].
Fixed the bad reference in ioslib and published ioslib@2.0.0-5. Update ioslib in appcd-plugin-ios and re-test. Waiting for the fix to be verified by [~fmiao], [~ewieber], or myself before marking the ticket as resolved.
[~cbarber], Update
ioslibto2.0.0-5, fix works!