Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17257] Analytics: iOS - different session id between ti.enroll and ti.foreground

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-07-06T20:26:56.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sRelease 3.3.0, Release 3.4.0
ComponentsiOS
Labelsmodule_analytics, qe-3.3.0, qe-testadded
ReporterOlga Romero
AssigneeSabil Rahim
Created2014-07-01T21:55:06.000+0000
Updated2014-07-06T20:26:56.000+0000

Description

Testing analytics, we encountered the different "sid" between ti.enroll and ti.foreground in one session.
{"city":"San Francisco","region_code":"CA","country_code":"US","country_name":"United States","postal_code":"","latitude":37.774898529053,"longitude":-122.41940307617,"area_code":415,"continent_code":"NA","ip_address":"38.110.144.252","region_name":"California","mid":"B9ABF887-59A8-4DAA-86C0-CA9A693FB354","id":"28F5999B-0317-4FE6-AFA1-48D92148246C","ts":"2014-07-01T21:05:32.850+0000","data":{"ostype":"32bit","app_id":"com.appcelerator.wnewanalytics","oscpu":2,"tz":-420,"platform":"ios","nettype":"WIFI","os":"ios","app_name":"wnewanalytics","sdkver":"ti.3.3.0","osarch":"armv7s","deploytype":"test","model":"iPhone5,3","app_version":"1.0","osver":"7.1"},"ver":"3","sid":"8633C777-4BFD-41DF-B949-73E1A1F521B0","event":"ti.enroll","aguid":"1ae88fba-d74b-49c4-973e-73ec234b1435","seq":0}
{"city":"San Francisco","region_code":"CA","country_code":"US","country_name":"United States","postal_code":"","latitude":37.774898529053,"longitude":-122.41940307617,"area_code":415,"continent_code":"NA","ip_address":"38.110.144.252","region_name":"California","mid":"B9ABF887-59A8-4DAA-86C0-CA9A693FB354","id":"B20D920F-12AA-40CA-80F2-609875CEEFAC","ts":"2014-07-01T21:05:32.890+0000","data":{"ostype":"32bit","app_id":"com.appcelerator.wnewanalytics","oscpu":2,"tz":-420,"platform":"ios","nettype":"WIFI","os":"ios","app_name":"wnewanalytics","sdkver":"ti.3.3.0","osarch":"armv7s","deploytype":"test","model":"iPhone5,3","app_version":"1.0","osver":"7.1"},"ver":"3","sid":"D02301D9-1496-4F5F-8F29-E5ACC54BFEFA","event":"ti.foreground","aguid":"1ae88fba-d74b-49c4-973e-73ec234b1435","seq":1}
{"mid":"B9ABF887-59A8-4DAA-86C0-CA9A693FB354","id":"58C31871-99AB-4909-8AF4-476E46112C32","ts":"2014-07-01T21:05:51.776+0000","data":[],"ver":"3","sid":"D02301D9-1496-4F5F-8F29-E5ACC54BFEFA","event":"ti.background","aguid":"1ae88fba-d74b-49c4-973e-73ec234b1435","seq":2}


Attachments

FileDateSize
log.txt2014-07-01T21:55:06.000+00001856

Comments

  1. Sabil Rahim 2014-07-02

    https://github.com/appcelerator/titanium_mobile/pull/5881 33X https://github.com/appcelerator/titanium_mobile/pull/5879 master
  2. Samuel Dowse 2014-07-02

    Verified fixed on: Mac OSX 10.9.4 Appcelerator Studio, build: 3.3.0.201406271159 Titanium SDK, build: 3.3.0.v20140702130117 Titanium CLI, build: 3.3.0-rc4 Alloy: 1.4.0-rc3 iOS Device: iPhone 5 (7.0.6) ti.enroll and ti.foreground both share the same SessionID. Closing.
  3. Ingo Muschenetz 2014-07-06

    [~srahim] Please set priority correctly. Also, I don't understand how the testing instructions are in JIRA. We need a good description of what the problem is, what the fix is, and how to verify it.

JSON Source