{ "id": "130355", "key": "TIMOB-16951", "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": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16272", "description": "2014 Sprint 10 Tooling", "name": "2014 Sprint 10 Tooling", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-23T20:49:37.000+0000", "created": "2014-05-13T08:50:30.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_cli", "qe-3.3.0", "qe-testadded" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "37669", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "130472", "key": "TISTUD-6490", "fields": { "summary": "Studio passes older sdk in the build command even though sdk version in tiapp has been changed.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-02T07:37:12.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Unable to build project with GA version when app created with latest sdk installed from studio.\r\n\r\nSteps to Reproduce:\r\n1. Create new classic/alloy app with the latest build installed(3.3.0.v20140512162513) and run the app.\r\n2. Now edit the tiapp.xml with any GA version (3.2.3.GA) and save the file and run the app again.\r\n\r\nActual Result:\r\n1. App builds and install successfully with latest build,3.3.0.v20140512162513\r\n2. Still the app gets builds with latest installed sdk 3.3.0 build instead of selected GA version.\r\n\r\nExpected Result:\r\nBoth the times app must get build with correct sdk version selected in tiapp.xml. \r\n\r\nNotes:\r\n1.CLI also shows the same behavior.\r\n2.If you create project with 3.2.3.GA sdk build then it always build the app with 3.2.3.GA build even if sdk-version in tiapp.xml is edited", "attachment": [ { "id": "48031", "filename": "Screen_Shot_2014-05-13_at_12_55_05_PM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-13T20:09:50.000+0000", "size": 126065, "mimeType": "image/png" } ], "flagged": false, "summary": "Project created with 3.3.0 SDK ignores SDK version changes in tiapp.xml", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc-Studio:3.3.0.201405121247\r\nacs:1.0.14\r\nalloy:1.4.0-dev\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\niOS and Android devices/sim/em", "closedSprints": [ { "id": 107, "state": "closed", "name": "2014 Sprint 10 Tooling", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:27.256Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "304745", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5680", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-14T02:16:46.000+0000", "updated": "2014-05-14T02:16:46.000+0000" }, { "id": "304746", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, set the selected sdk to 3.3.0 and build using an older sdk (like 3.2.3.GA).", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-14T02:17:25.000+0000", "updated": "2014-05-14T02:17:25.000+0000" }, { "id": "304887", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still Reproducible. Reopening.\r\n\r\n1.Created an app with 3.3.0 sdk selected(in CLI & Tiapp.xml). \r\n2.Changed the SDK to 3.2.3.GA.\r\n3.Ran/Built the app.\r\n4.Logs show me 3.3.0 SDK being used.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405121247\r\nTi SDK : 3.3.0.v20140513191712\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-dev\r\nCLI - 3.3.0-dev installed on 05/14/14\r\nSamsung Galaxy S4 running android 4.2.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-14T23:10:48.000+0000", "updated": "2014-05-14T23:10:48.000+0000" }, { "id": "304903", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "STUDIO BUG!!!!", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-15T00:21:36.000+0000", "updated": "2014-05-15T00:21:36.000+0000" }, { "id": "304937", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening the issue since the issue is still reproducible.\r\n\r\nEnvironment Used:\r\nAppc-Studio:3.3.0.201405121247\r\nsdk:3.3.0.v20140514163013\r\nacs:1.0.14\r\nalloy:1.4.0-alpha\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nDevice:Iphone5s(v7.1.1),Nexus7(v4.4.2)\r\n\r\nSee the below scenarios and observations - \r\n\r\n1) Create a new project from CLI using latest SDK 3.3.0 build. Then open the tiapp.xml from terminal and set the SDK build as 3.2.3.GA. Build the app from CLI and observed that build happen using the SDK build 3.2.3.GA which I set into tiapp.xml file.\r\n\r\n2) Create a new project from Studio using latest SDK 3.3.0 build. Then open the tiapp.xml from Studio and set and save the SDK build as 3.2.3.GA. Now go to terminal and inside the project directory. Open the tiapp.xml file and observed that SDK build is still showing latest 3.3.0 sdk build instead of 3.2.3.GA build. Because of this if I build this project from Studio/CLI, it picks the latest SDK 3.3.0 build only.\r\n\r\nAs per the above scenarios, CLI shows the correct behavior but Studio is unable to set the SDK build other than which has been used at the time of project creation.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T06:46:01.000+0000", "updated": "2014-05-15T06:46:01.000+0000" }, { "id": "304939", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~pagarwal] This is a Studio bug. This is not a CLI or SDK bug. [~pinnamuri] is aware of the issue, but if you'd like, create a TISTUD issue and assign it to him. Resolving as fixed.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-15T06:51:29.000+0000", "updated": "2014-05-15T06:51:29.000+0000" }, { "id": "305016", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pinnamuri] Do you have the Studio bug to link to this? Actually, I am assuming it's TISTUD-6490?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T08:45:49.000+0000", "updated": "2014-05-15T08:49:08.000+0000" }, { "id": "305093", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Linked the related ticket .", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T16:34:07.000+0000", "updated": "2014-05-15T16:34:07.000+0000" }, { "id": "305220", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as this is a studio issue. Please refer to the related ticket linked for this issue.\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T00:14:30.000+0000", "updated": "2014-05-16T00:14:30.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }