Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1295

Windows: App crashes when calling fetch() method on a collection bound to a view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Alloy 1.7.1
    • Fix Version/s: Release 5.1.0
    • Component/s: Models
    • Labels:
      None
    • Environment:

      Studio 4.1.1
      CLI 4.1.1
      Alloy 1.7.1
      Titanium SDK 4.1.0.GA
      Windows 8.1 Pro

    • Story Points:
      5
    • Sprint:
      2015 Sprint 23 Tooling

      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

          Issue Links

            Activity

              People

              • Assignee:
                fmiao Feon Sua Xin Miao
                Reporter:
                bhatfield Benjamin Hatfield (Inactive)
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration