Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15256] BlackBerry: Events not listened give warning on fire: 'Unsupported event name'

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-02-20T18:14:20.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.2.0
ComponentsBlackBerry
Labelsaddeventlistener, blackberry, event, qe-testadded
ReporterGertjan Smits
AssigneePedro Enrique
Created2013-09-16T13:19:27.000+0000
Updated2014-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

Comments

  1. Ingo Muschenetz 2013-10-17

    Duplicate of linked issue
  2. Samuel Dowse 2014-02-20

    Closing based on status of duplicate ticket.

JSON Source