{ "id": "88126", "key": "TIMOB-8074", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-19T08:22:35.000+0000", "created": "2012-03-18T22:07:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-19T16:22:22.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": "Run the {{android.string}} drillbit test for V8, and you should see this error for the {{stringFormat}} test:\r\n\r\n{code}\r\nshould be: \"Pi to 2 decimal places is 3.14\", was: \"null\"\r\n{code}\r\n\r\nThis might be related to the fix we made in TypeConverter.cpp around line 468 that does integer casting. String.format in Java may not accept an \"int\" primitive for \"%f\" format strings.", "attachment": [], "flagged": false, "summary": "Android: String.format fails in android.string Drillbit test", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "187013", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was caused due to how we converted %d -> %f in the stringFormat() method.\r\nWith the change to V8's conversion layer we no longer require this, but still need it\r\nfor Rhino which always gives us double values. Will add a conditional to only enable this when\r\nrunning with Rhino runtime.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-18T23:50:35.000+0000", "updated": "2012-03-18T23:50:35.000+0000" }, { "id": "187014", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sent [Pull Request #1738|https://github.com/appcelerator/titanium_mobile/pull/1738] to fix this regression.\r\nAll test cases in android.string appear to be passing for both runtimes with this change.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-19T00:00:08.000+0000", "updated": "2012-03-19T00:00:08.000+0000" }, { "id": "187238", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with version=2.0.0\r\nmodule_apiversion=2\r\ntimestamp=03/19/12 16:15\r\ngithash=a1ddab3 \r\nwith v8/rhino on Nexus Galaxy 4.0.2", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-19T15:37:30.000+0000", "updated": "2012-03-19T15:37:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }