[TIMOB-15257] BlackBerry: Custom event.type === undefined
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-06-05T19:39:14.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2013 Sprint 22, 2013 Sprint 22 API, Release 3.2.0, Release 3.3.0 |
| Components | BlackBerry |
| Labels | blackberry, event, qe-3.3.0, qe-testadded |
| Reporter | Gertjan Smits |
| Assignee | Pedro Enrique |
| Created | 2013-09-16T12:15:46.000+0000 |
| Updated | 2014-06-17T23:55:46.000+0000 |
Description
Testcase
Ti.App.addEventListener("hello", function( e ) {
alert(e.type); // undefined
});
Ti.App.fireEvent("hello");
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/182
I've been assigned to review this ticket by mistake. https://github.com/appcelerator/titanium_mobile_blackberry/pull/182#issuecomment-26627394
Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311122225 Titanium SDK, build: 3.2.0.v20131113094843 CLI: 3.2.0 Alloy: 1.3.0 BlackBerry Simulator: 10.2.0.1791 Verified using the above test code. Pop up appears saying "hello" just as expected. Closing.
Tested and encountered the original issue. Environment: Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140603032057 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-beta npm@1.3.2 titanium@3.3.0-beta2 titanium-code-processor@1.1.1 Device: BB Z10 (10.2.1)
Fixed now for 3.3.X as well
Verified fixed on: Mac OSX 10.9.3 Appcelerator Studio, build: 3.3.0.v201406111952 Titanium SDK, build: 3.3.0.v20140617161713 Titanium CLI, build: 3.3.0-rc Alloy: 1.4.0-rc BlackBerry SDK, build: 10.2.0.1155 BlackBerry Simulator: 10.3.0.440 BlackBerry Device: 10.2.1.2947 Popup appears displaying "hello". Closing.