[TIMOB-13629] Mobile Web: XmlHttpRequest typo in analytics.js
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-18T02:31:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 26, 2013 Sprint 26 Core, Release 3.2.0 |
Components | MobileWeb |
Labels | qe-closed-3.2.0 |
Reporter | Anatoliy Odukha |
Assignee | Chris Barber |
Created | 2013-04-18T22:22:59.000+0000 |
Updated | 2013-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
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5132 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5133
Confirmed as fixed by [~cbarber] and [~emerriman]
Closing as fixed. Analytics events are being generated and payloads created for different platforms, refers to linked bugs.