Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18678] Windows: HAL crashes on || syntax for method invocation

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-03-16T18:54:20.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsWindows
Labelsn/a
ReporterChristopher Williams
AssigneeKota Iguchi
Created2015-03-10T22:09:49.000+0000
Updated2017-03-16T22:30:39.000+0000

Description

The Ti.Map.createView call is crashing in an odd way inside HAL in the profile.js controller once you've clicked on a person n the directory listing. Try out the Corporate example and click a person to see the crash. The root cause is the following syntax:
$.__views.mapview = (require("ti.map").createView || Ti.UI.createView)({
});
Changing it to a straight up createView call doesn't trigger the issue:
$.__views.mapview = require("ti.map").createView({
});

Comments

  1. Kota Iguchi 2015-03-13

    https://github.com/appcelerator/titanium_mobile_windows/pull/164
  2. Kota Iguchi 2015-03-16

    https://github.com/appcelerator/titanium_mobile_windows/pull/166
  3. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source