[TIMOB-4071] iOS: KitchenSink script errors logged when using Base UI>Tab groups
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-05-17T11:34:03.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | Sprint 2011-20 |
Components | iOS |
Labels | n/a |
Reporter | Eric Merriman |
Assignee | Blain Hamon |
Created | 2011-05-13T10:46:43.000+0000 |
Updated | 2017-03-02T19:31:53.000+0000 |
Description
Description:
While testing KS and navigating in Base UI>Tab groups, the console reported script errors:
Thu May 12 14:43:02 unknown UIKitApplication:com.appcelerator.pushtest[0x2f96][30598] : [ERROR] While executing Timer, received script error. 'Result of expression 'e.tab' [undefined] is not an object. at app.js (line 9)'
and again when bring KS back into the foreground:
Thu May 12 14:44:22 unknown UIKitApplication:com.appcelerator.pushtest[0x2f96][30598] : [INFO] tab blur - new index -1 old index 5
Thu May 12 14:44:23 unknown UIKitApplication:com.appcelerator.pushtest[0x2f96][30598] : [ERROR] While executing Timer, received script error. 'Result of expression 'e.tab' [undefined] is not an object. at app.js (line 9)'
Steps to reproduce:1
1) Install and launch KS with build 1.7.0 on the verizon iPhone 4
2) Navigate to Base UI>Tab groups
3) Choose "add/remove tab"
4) Select the "more" tab in the tab bar
5) Select "New tab" in the list
6) Click "more" from the NavBar
Result:
[ERROR] While executing Timer, received script error. 'Result of expression 'e.tab' [undefined] is not an object. at app.js (line 9)'
Expected result:
No error logged
When switching to the more tab, e.tab is supposed to be undefined, as there is no proxy that represents the more tab. Perhaps a more graceful way to indicate the more tab can be done, but for now, the more tab is an undefined proxy, with an index of -1.
Closed as invalid.