{ "id": "86768", "key": "TIMOB-7741", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-04-07T21:09:00.000+0000", "created": "2012-02-21T16:01:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T18:10: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" } ], "description": "Run drillbit test -> string and locale on Motorola Droid 1. \r\nFailure info for string test:\r\n{code}\r\nstringFormatDecimal\tfalse\t237\tshould be: \"5.123,33\", was: \"5123.33\"\r\n{code}\r\nFailure info for locale test:\r\n{code}\r\nstringPPEnhancements\tfalse\t14\tshould be: \"2,5\", was: \"2.5\"\r\n{code}", "attachment": [], "flagged": false, "summary": "Anvil: android/android_string and locale fail on Droid 1", "creator": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "207884", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ran Anvil test on Droid One with 2_1_X branch. Those two tests are failed.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T16:12:55.000+0000", "updated": "2012-07-16T16:13:25.000+0000" }, { "id": "208892", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a known issue coming from drillbit when we run it on droid 1 and apparently also exists on anvil as well.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-23T10:31:18.000+0000", "updated": "2012-07-23T10:32:05.000+0000" }, { "id": "221608", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "So the issue is not reproducible on any of my hardware including a Droid 2 but the issue seems clear based on my research into the problem. There are two problems here:\n\n1) We can't perform conversions based on Locale if the Locale is not present on device\n2) If a Locale is not found, the default Locale is used as a fallback but there is no notification to the user\n\n\nThere are a few paths that can be taken with this problem. One is to use http://developer.android.com/reference/java/text/DecimalFormat.html for defining custom numeric conversions for Locales. Note that NumberFormat will not support custom Locale providers (http://developer.android.com/reference/java/text/NumberFormat.html#getAvailableLocales()) so the use of DecimalFormat is required. If this route is taken we should both A) define a common set of Locales that we ship with the platform along with B) supporting a mechanism for developers to define a custom Locale conversion\n\nAnother route is to only utilize the default Locales that the device is meant to support and instead provide a means to notify the user in the event of a conversion \"failure\" along with utilizing a fallback value.\n\nParity discussion is required on this as basically we are talking about a new feature and ideally a robust look at the Locale handling with various additions to the overall localization API's.\n\nTo see the meat of the implementation, refer to TitaniumModule.java and TiPlatformHelper.java.\n\nMoving to Sprint 21 for discussion.\n", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-01T18:18:12.000+0000", "updated": "2012-10-01T18:18:12.000+0000" }, { "id": "300104", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We no longer support the Droid 1.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-07T21:09:00.000+0000", "updated": "2014-04-07T21:09:00.000+0000" }, { "id": "414254", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:10:12.000+0000", "updated": "2017-03-21T18:10:12.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }