{ "id": "144061", "key": "TIMOB-18493", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-02-02T22:03:43.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-02-02T22:03:43.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "When creating a new Titanium app, it sends an analytics event to the server with values from the tiapp.xml and command line args.\r\n\r\nIt's possible to create an app where the some of these required values are missing.\r\n\r\nFor example, you could try to create an app using a custom {{\\-\\-template}} where the template is missing a tiapp.xml. Because the tiapp.xml is missing, there is no default value for fields such as \"publisher\". This causes analytics to fail.\r\n\r\nAnalytics requires the following fields:\r\n\r\n* guid\r\n* runtime\r\n* name\r\n* appid\r\n* date\r\n* publisher\r\n* url\r\n* version\r\n\r\nWe must ensure that these fields are at least empty strings.\r\n\r\nFurthermore, we must also ensure that these fields are strings. It's possible to create a new app and specify {{\\-\\-url}} twice and the values are turned into an array which would need to be shifted into a single value string.", "attachment": [], "flagged": false, "summary": "CLI: Analytics events fail due to missing information", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }