{ "id": "128870", "key": "TIMOB-16840", "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": "15939", "description": "2014 Sprint 07", "name": "2014 Sprint 07", "archived": true, "released": true, "releaseDate": "2014-04-11" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-11T22:37:05.000+0000", "created": "2014-04-10T00:23:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_android", "qe-3.2.3", "qe-testadded", "regression" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-21T18:44:56.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": "h5. Problem description\r\nIn the Dynamic Styling Alloy sample https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/dynamic_styling , in the 'rawStyle' window, there is a webView whose html content is rendered using the Underscore.js '_.template' utility:\r\n\r\n{code}\r\n$.styleArray.html = _.template(Alloy.Globals.htmlTemplate, {\r\n\tCODE: JSON.stringify(require('alloy/styles/features/rawStyle'), null, ' '),\r\n\tBRUSH: 'js'\r\n});\r\n{code}\r\n\r\nAlloy.Globals.htmlTemplate (in app/alloy.js):\r\n{code}\r\nAlloy.Globals.htmlTemplate = '
; gutter: false;\"><%= CODE %>';\r\n{code}\r\n\r\nIf no targetSdkVersion is specified or if a targetSdkVersion specified is greater than 13, running the sample on Android using the latest SDK (3.2.3.v20140403105720), the Webview is not visible.\r\nIs correctly visible using 3.2.2.GA on both iOS and Android.\r\n\r\nh5. Steps to reproduce\r\n1. Create a new Alloy project and import the Alloy sample code https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/dynamic_styling (or get the attached project)\r\n2. Run on Android and click on 'Raw Style Modules'\r\nResult: second webView (