Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13629] Mobile Web: XmlHttpRequest typo in analytics.js

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-12-18T02:31:37.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 26, 2013 Sprint 26 Core, Release 3.2.0
ComponentsMobileWeb
Labelsqe-closed-3.2.0
ReporterAnatoliy Odukha
AssigneeChris Barber
Created2013-04-18T22:22:59.000+0000
Updated2013-12-19T19:48:54.000+0000

Description

There is error in _/analytics.js that cause: Uncaught ReferenceError: XmlHttpRequest is not defined Reason is typo in code: analytics.js var xhr = new XmlHttpRequest; js is case-sensitive and corrent class name is XMLHttpRequest As result this functionality is completely non working

Comments

  1. Chris Barber 2013-12-17

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5132 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5133
  2. Ingo Muschenetz 2013-12-18

    Confirmed as fixed by [~cbarber] and [~emerriman]
  3. Olga Romero 2013-12-19

    Closing as fixed. Analytics events are being generated and payloads created for different platforms, refers to linked bugs.

JSON Source