[TIMOB-9173] iOS: ui.layout crash in drillbit
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-08-01T04:11:39.000+0000 |
| Affected Version/s | Release 2.1.0 |
| Fix Version/s | Release 2.1.0, Sprint 2012-12 API |
| Components | iOS |
| Labels | api, core, module_webview, qe-review, qe-testadded |
| Reporter | Stephen Tramer |
| Assignee | Vishal Duggal |
| Created | 2012-05-18T14:15:40.000+0000 |
| Updated | 2013-11-25T08:52:12.000+0000 |
Description
Drillbit is currently failing the
ui.layout test on 2.1.0.757e535:
bq. scrollViewSize false 1873 -[UILabel proxy]: unrecognized selector sent to instance 0x995aec0
In all probability another side effect of PR #1892. Already had a bug TIMOB-8776 filed due to the same cause.
PR merged https://github.com/appcelerator/titanium_mobile/pull/2241
Reopening this issue since the regressions are deeper than the two issues reported. Here is code that fails in 2.1.0 but works in 2_0_X
var win = Ti.UI.createWindow({ backgroundColor:'white' }) var webView = Ti.UI.createWebView({ url:'http://www.appcelerator.com' }) var button = Ti.UI.createButton({ title:'Will I Show' }) webView.add(button); win.add(webView); //win.add(button); win.open();Tested on: Titanium SDK: 2.2.0.v20120716092112 Titanium Studio, build: 2.1.1.201207121732 iPhone simulator
Tested on: Titanium SDK: 2.2.0.v20120716092112 Titanium Studio, build: 2.1.1.201207121732 iphone simulator
Reopening to update labels
Anvil test case added. PR link: https://github.com/appcelerator/titanium_mobile/pull/5020