Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19572] Windows: receivedResponse is not being set correctly when offline

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2015-09-24T12:02:42.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.1.0
ComponentsWindows
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2015-09-23T23:27:55.000+0000
Updated2015-11-09T19:23:18.000+0000

Description

*analytics.js - L198*
_t.receivedResponse = true;

// should be

this.receivedResponse = true;
This causes an error when launching an app in debug mode whilst the device is offline.

Comments

  1. Gary Mathews 2015-09-23

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/437
  2. Ewan Harris 2015-11-09

    Verified using: OS: Microsoft Windows 8.1 Pro Appc core: 5.1.0-43 Appc NPM: 4.2.1 Ti SDK: 5.1.0.v20151104190037 Lumia 930 (8.1) When a device is offline the app no longer crashes on launch Closing ticket

JSON Source