[TIMOB-15256] BlackBerry: Events not listened give warning on fire: 'Unsupported event name'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-02-20T18:14:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.2.0 |
Components | BlackBerry |
Labels | addeventlistener, blackberry, event, qe-testadded |
Reporter | Gertjan Smits |
Assignee | Pedro Enrique |
Created | 2013-09-16T13:19:27.000+0000 |
Updated | 2014-02-20T18:14:25.000+0000 |
Description
Not sure what effect this has. But it kept me busy :)
Testcase
var i = 1;
function test( eventName ) {
i++;
if( i % 2 === 0 ) {
Ti.App.addEventListener(eventName, function( e ) {
//
});
} else {
Ti.API.info("not listening to " + eventName);
}
Ti.App.fireEvent(eventName);
}
test("event1");
test("event2");
test("event3");
test("event4");
test("event5");
Output
[N_WARNING] virtual int NativeProxyObject::fireEvent(const char*, const TiObject*) const Line 52: Unsupported event name event2
Duplicate of linked issue
Closing based on status of duplicate ticket.