[TIMOB-14523] iOS7: iPad Features - popover crashes to give the runtime error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-23T16:09:59.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 |
Components | iOS |
Labels | ios7, ks-ipad, qe-3.1.1, qe-closed-3.1.2, qe-testadded |
Reporter | Anshu Mittal |
Assignee | Ingo Muschenetz |
Created | 2013-07-11T10:08:39.000+0000 |
Updated | 2015-02-02T20:47:11.000+0000 |
Description
Popover crashes to display runtime error.
Steps to reproduce:
1. KS> Phone>iPad Features.
2. Click Main tests>Show list>Popovers
3. Click popover2
Expected:
Popover should be displayed.
Actual:
A runtime error is displayed.
The error displayed in the logs as below:
[ERROR] Script Error {
backtrace = "#0 () at :0";
line = 1;
message = "*** -[__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0]";
sourceId = 47925504;
sourceURL = "file:///var/mobile/Applications/BCC3F229-ECB3-4FD0-9C6D-D5A043328421/KitchenSink.app/ui/tablet/ios/baseui/popover.js";
}
Fixed in master by https://github.com/appcelerator/titanium_mobile/pull/4461
Tested and did not experience the crash with: Appcelerator Studio, build: 3.1.2.201308091728 Titanium SDK, build: 3.1.2.GA CLI: 3.1.2 KS 3.1.2.GA Ipad4 iOS 7 closing