Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17220] BlackBerry Analytics: JSON object will in featureEvent will send [object Object]

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2014-06-27T19:50:13.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sn/a
ComponentsBlackBerry
Labelsqe-3.3.0
ReporterSamuel Dowse
AssigneePedro Enrique
Created2014-06-26T17:48:54.000+0000
Updated2017-03-13T21:01:38.000+0000

Description

Description

Sending a JSON object inside a featureEvent will send [object Object] to the dashboard. On iOS and Android it will correctly send the JSON object.

Steps To Reproduce

1. Attach the following code snippet into your app.js
Ti.Analytics.featureEvent('featureEvent', {"featureValue":"featureKey"});
2. Run the application, and check the payloads on dashboard.

Expected Result

Should receive
"feature_data":"{"featureValue":"featureKey"}"

Actual Result

Receives
"feature_data":"[object Object]"

Comments

  1. Pedro Enrique 2014-06-27

    PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/268
  2. Lee Morris 2017-03-13

    Closing ticket as fixed.

JSON Source