[TIMOB-18493] CLI: Analytics events fail due to missing information
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Praveen Innamuri |
Created | 2015-02-02T22:03:43.000+0000 |
Updated | 2015-02-02T22:03:43.000+0000 |
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.
It's possible to create an app where the some of these required values are missing.
For 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.
Analytics requires the following fields:
* guid
* runtime
* name
* appid
* date
* publisher
* url
* version
We must ensure that these fields are at least empty strings.
Furthermore, 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.
No comments