{ "id": "176315", "key": "TIMOB-28561", "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": "21265", "description": "", "name": "Release 10.1.1", "archived": false, "released": true, "releaseDate": "2021-11-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-10-22T18:35:19.000+0000", "created": "2021-10-19T00:35:18.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ListView", "android", "i18n", "localization", "regression", "textid", "titleid" ], "versions": [ { "id": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-11-17T10:55:11.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": "*Summary:*\r\nAs of Titanium 10.0.1, Android's {{ListView}} fails to fetch localized strings for properties {{textid}} and {{titleid}} on a ListItem views that are scrolled into the screen. This causes them to fail to show any text. Only the initially displayed ListItems show localized text.\r\n\r\n*Steps to reproduce:*\r\n# Create a Classic app project using [^ListViewTemplateLocalizationTest.js] as the \"app.js\".\r\n# Create an {{./i18n/en}} folder and copy [^strings-en.xml] to it, renaming to {{strings.xml}}.\r\n# Create an {{./i18n/es}} folder and copy [^strings-es.xml] to it, renaming to {{strings.xml}}.\r\n# Build and run on Android.\r\n# Scroll to the bottom.\r\n# Notice the rows and buttons contain no text as you scroll down. _(This is the bug.)_\r\n\r\n*Work-Around:*\r\nInstead of using {{textid}} and {{titleid}}, use the {{Ti.Locale.getString()}} method instead and assign the returned value to the view's {{text}} or {{title}} property.\r\n", "attachment": [ { "id": "68017", "filename": "ListViewTemplateLocalizationTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-10-19T00:31:15.000+0000", "size": 1217, "mimeType": "application/x-javascript" }, { "id": "68015", "filename": "strings-en.xml", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-10-19T00:32:51.000+0000", "size": 3183, "mimeType": "text/xml" }, { "id": "68016", "filename": "strings-es.xml", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-10-19T00:32:51.000+0000", "size": 3423, "mimeType": "text/xml" } ], "flagged": false, "summary": "Android: ListView fails to apply i18n \"textid\" and \"titleid\" properties on off-screen list items", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "459167", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Backport PR: https://github.com/appcelerator/titanium_mobile/pull/13181", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-11-17T10:55:11.000+0000", "updated": "2021-11-17T10:55:11.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }