{ "id": "142995", "key": "TIMOB-18396", "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": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-17T15:46:51.000+0000", "created": "2015-01-16T21:48:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "46068", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "133189", "key": "TIMOB-17332", "fields": { "summary": "CLI: Using same option twice with different values causes crash", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-07-07T17:52:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "*Details:* If you pass --url flag multiple times when creating a project, then the CLI analytic events are not sent.\r\n\r\n*Note:* This is *not a regression* as this issue occurs in both CLI 3.4.1 and 3.5.0-dev (from this [commit|https://github.com/appcelerator/titanium/commit/c680bf087d696b0e61fb75eb124a2d24caa17827])\r\n\r\n*Steps to reproduce:*\r\n1. From terminal, create a Titanium project with multiple --url flags: {{ti create --url bob --url monkeyLord}}\r\n2. Finish the project creation process\r\n3. Next, go to {{~/.titanium/events}}\r\n\r\n*Actual:* A JSON file should be at the directory and if you search for url in the JSON file, you will see an array of the specified urls e.g. {{\\\"url\\\":\\[\\\"bob\\\",\\\"monkeyLord\\\"\\]}}.\r\n\r\n*Expected:* The JSON file should not be there indicating the CLI analytics events were sent.", "attachment": [], "flagged": false, "summary": "CLI: Analytics - CLI analytic events are not sent if you pass --url flag multiple times", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "CLI: 3.4.1, 3.5.0-dev (from this [commit|https://github.com/appcelerator/titanium/commit/c680bf087d696b0e61fb75eb124a2d24caa17827])\r\nSDK build: 3.5.0.GA", "closedSprints": [ { "id": 339, "state": "closed", "name": "2015 Sprint 04 Tooling", "startDate": "2015-02-14T02:34:21.061Z", "endDate": "2015-02-28T02:34:00.000Z", "completeDate": "2015-02-28T15:51:32.596Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "343365", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Per discussion during sprint planning, we should take the last value only when multiples are passed (i.e. only the last value of --url)", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-13T20:22:23.000+0000", "updated": "2015-02-13T20:22:23.000+0000" }, { "id": "343483", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/6643\r\n\r\nFollow the steps to reproduce mentioned above, there should be no JSON file under {{~/.titanium/events}}.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-02-16T06:09:56.000+0000", "updated": "2015-02-16T06:09:56.000+0000" }, { "id": "343538", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "CR/FR pass, merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-17T15:46:51.000+0000", "updated": "2015-02-17T15:46:51.000+0000" }, { "id": "357178", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that if you pass {{--url}} flag multiple times to *Appc CLI*, then CLI analytic events are sent.\r\n\r\nTested on:\r\n\r\nAppc CLI NPM: 4.1.0-1\r\nAppc CLI Core: 4.1.0-5\r\nArrow: 1.1.0-11\r\nSDK: 4.1.0.v20150706111546\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.4)\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-07T17:52:29.000+0000", "updated": "2015-07-07T17:52:29.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }