[ALOY-1295] Windows: App crashes when calling fetch() method on a collection bound to a view
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-11-20T18:34:35.000+0000 |
Affected Version/s | Alloy 1.7.1 |
Fix Version/s | Release 5.1.0 |
Components | Models |
Labels | n/a |
Reporter | Benjamin Hatfield |
Assignee | Feon Sua Xin Miao |
Created | 2015-07-30T21:46:04.000+0000 |
Updated | 2015-11-20T18:35:12.000+0000 |
Description
REPRODUCTION:
Create a new Alloy project and overwrite the files with the versions from the attachment.
Run the project in the Windows emulator.
RESULTS:
The app crashes with the following error:
[INFO] Installing and launching the application
[INFO] Project built successfully in 20s 802ms
[INFO] Connected to app
-- Start application log -----------------------------------------------------
[INFO] Disconnected from app
-- End application log -------------------------------------------------------
[ERROR] The remote procedure call failed.
[ERROR] Error: The remote procedure call failed.
at ChildProcess.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\5.1.0.v20151026164636\node_modules\windowslib\lib\emulator.js:287:15)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1008:16)
at ChildProcess._handle.onexit (child_process.js:1080:5)
OTHER INFO:
Comment out the Alloy.Collections.book.fetch() method in the app/controllers/index.js file and the application runs fine.
Attachments
File | Date | Size |
---|---|---|
app.zip | 2015-07-30T21:45:47.000+0000 | 5919535 |
This should be resolved by TIMOB-19820.