{ "id": "94832", "key": "TIMOB-9930", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15701", "description": "2013 Sprint 21 Core", "name": "2013 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-19T01:20:22.000+0000", "created": "2012-07-10T22:58:12.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "androidbuild", "cb-verified", "core", "qe-closed-3.2.0" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "30757", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "91507", "key": "TIMOB-9028", "fields": { "summary": "CLI: \"build\" command for Android apps", "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": "Critical", "id": "1" }, "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "31514", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "119156", "key": "TIMOB-14973", "fields": { "summary": "Android Build: Validate command line arguments and tiapp.xml settings", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-12-11T11:13:38.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": "10207", "name": "Tooling" } ], "description": "This is not a regression. IT exists as far as 1.8.2.\r\nAdding a module to the project in the tiapp.xml which does not exist such as not.there should prevent the app from getting packaged but it is not. App gets successfully packaged and gets installed on android device.It runs on emulator also without error/warnings.\r\nIf I try to install it directly on simulaor or iOS/android device, it gives appropriate error for module not found like:\r\nFor iOS simulator and device error is:\r\n[ERROR] Could not find the following required iOS modules:\r\n[ERROR]\tid: not.there\tversion: 1.0\r\n\r\nFor android device, error is:\r\n[ERROR] Failed installing com.appcelerator.timob9090: \tpkg: /data/local/tmp/app.apk\r\nFailure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]\r\n\r\nSteps to reproduce\r\n1. Create a new app in TiStudio\r\n2. Add a module to the project in the tiapp.xml which does not exist such as not.there\r\n3. Package the app/run on android emulator\r\n\r\nActual result:\r\nThe app gets packaged/runs on emulator without error.\r\n\r\nExpected result:\r\nThe app should fail packaging with appropriate error result like\r\n[ERROR] Could not find the following required iOS modules:\r\n[ERROR]\tid: not.there\tversion: 1.0\r\n\r\nAnd give error for emulator also like(as we get in case of device) \r\n[ERROR] Failed installing com.appcelerator.timob9090: \tpkg: /data/local/tmp/app.apk\r\nFailure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]", "attachment": [], "flagged": false, "summary": "Android: Packaging: With a non-existing module added to the project in the tiapp.xml,app packages without error and gets installed on device", "creator": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Adding environment info -\r\nTested with Titanium SDK: 2.1.0.v20120628121617\r\nTested with Titanium  Studio: 2.1.0.201206251749\r\nDevice - Android 2.3.6 Samsung GALAXY Note\r\nMachine OS - MAC 10.7.3", "comment": { "comments": [ { "id": "275807", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4781", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-19T01:20:22.000+0000", "updated": "2013-10-19T01:20:22.000+0000" }, { "id": "283797", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified with environment:\r\nAppcelerator Studio: 3.2.0.201312101708\r\nSDK: 3.2.0.v20131210191510\r\nalloy: 1.3.0-cr\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr\r\ntitanium-code-processor: 1.1.0-cr\r\nMac 9\r\n\r\nThe app now fails packaging with appropriate errors.Hence closing the issue.", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-11T11:13:38.000+0000", "updated": "2013-12-11T11:13:38.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }