[TIMOB-7345] iOS: Tab Groups - In KS, cannot add/remove tabs dynamically any more
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-01-25T11:29:51.000+0000 |
| Affected Version/s | Release 1.8.1 |
| Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
| Components | iOS |
| Labels | qe-ios012312, regression |
| Reporter | Wilson Luu |
| Assignee | Stephen Tramer |
| Created | 2012-01-23T17:38:35.000+0000 |
| Updated | 2012-01-25T11:29:51.000+0000 |
Description
Steps to reproduce:
1. Launch KS from 1_8_X branch
2. Go to Base UI > Tab groups
3. Press "Add/Remove Tab"
Actual: "Mashups" tab does not dynamically change to "More"
Expected: "Mashups" tab should dynamically change to "More"
4. Press "Close/Animate Tab Group"
Actual: "Mashups" tab will change to "More" after tab group closes
Expected: Should not see any changes to tab after pressing this button
Note: This new behavior does not occur in 1.8.0.1 KS
Also, I just noticed this error message in the console:
Jan 23 18:07:00 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [INFO] FOCUS RECEIVED IN base_ui Jan 23 18:07:00 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [INFO] { Jan 23 18:07:00 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: } Jan 23 18:07:00 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [INFO] tab blur - new index 0 old index 0 Jan 23 18:07:00 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [ERROR] While executing Timer, received script error. 'Result of expression 'e.tab' [undefined] is not an object. at app.js (line 189)' Jan 23 18:07:01 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [INFO] tab Base UI prevTab = null Jan 23 18:07:01 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [INFO] tab Base UI prevTab = Base UI Jan 23 18:07:01 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [INFO] tab Base UI prevTab = null Jan 23 18:07:02 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [INFO] FOCUS RECEIVED IN base_ui Jan 23 18:07:02 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: [INFO] { Jan 23 18:07:02 unknown UIKitApplication:com.appcelerator.titanium[0xc6d8][305] <Notice>: }Closing bug. Verified fix on: SDK build: 1.8.1.v20120124200134 Titanium Studio, build: 1.0.8.201201210622 xcode: 4.2 Device: iPhone 4S Verizon (5.0.1)