{ "id": "82615", "key": "TIMOB-6150", "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": "12086", "description": "", "name": "Sprint 2011-46", "archived": true, "released": true, "releaseDate": "2011-11-21" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-12-09T13:28:49.000+0000", "created": "2011-11-10T17:04:50.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "branch-v8" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-12-09T13:28:49.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" } ], "description": "Description:\r\nWhile packaging some apps for testing, I got a strange error in the console during compile which prevents the build from completing\r\n[ERROR] /Users/eric/Documents/fromGit/titanium_mobile/demos/KitchenSink/build/android/bin/assets/Resources/examples/table_view_layout_2.js:13: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.\r\n\te.value; // search string as user types\r\n\t^\r\n\r\n0 error(s), 1 warning(s)\r\n\r\nA quick check of the code in question shows:\r\nsearch.addEventListener('change', function(e)\r\n{\r\n\te.value; // search string as user types\r\n});\r\n\r\nSteps to reproduce:\r\n1) Sync with master\r\n2) Import KS into studio\r\n3) Attempt to package for distribution on Android\r\n4) Watch console log\r\n\r\nResult:\r\nNo .apk produced, console warning\r\n\r\nExpected:\r\nNo warning, .apk produced as expected", "attachment": [], "flagged": false, "summary": "Android: Packaging - Rhino/v8 - Studio console logs \"WARNING - Suspicious code\" and fails to package", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 1.0.7.201111091637, Mac OS X 10.7.2", "comment": { "comments": [ { "id": "175558", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111209011840 apk is generated but still seeing the warning of the suspicious code.", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T11:18:33.000+0000", "updated": "2011-12-09T11:18:33.000+0000" }, { "id": "175580", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marshall said that the fix is for the build error it can now compile, warning is because of code issue in KS", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T13:28:49.000+0000", "updated": "2011-12-09T13:28:49.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }