Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24926] Android: Prevent fireEvent when proxy has been released

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-07-10T18:30:22.000+0000
Affected Version/sRelease 6.1.1
Fix Version/sRelease 6.1.2
ComponentsAndroid
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2017-07-03T14:26:34.000+0000
Updated2017-08-03T15:57:00.000+0000

Description

- Prevent fireEvent taking place on a null proxy *TEST CASE*
var win = Ti.UI.createWindow(),
    a = Ti.UI.createView(),
    b = Ti.UI.createView(),
    c = Ti.UI.createView(),
    row = Ti.UI.createTableViewRow(),
    table = Ti.UI.createTableView({data: [row]}),
    scrollableView = Ti.UI.createScrollableView({
      views: [a, b, c]
    }),
    i = 0;

row.add(Ti.UI.createImageView());
c.add(table);

setInterval(function() {
    scrollableView.currentPage = i++ % 3;
}, 1000);

win.add(scrollableView);
win.open();

Comments

  1. Gary Mathews 2017-07-03

    master: https://github.com/appcelerator/titanium_mobile/pull/9189
  2. Ben Bahrenburg 2017-07-03

    Any chance, when merged, this could be back ported to the 6.1.x branch? Addresses a major crasher I have in production.
  3. Gary Mathews 2017-07-07

    6_1_X: https://github.com/appcelerator/titanium_mobile/pull/9204
  4. Abir Mukherjee 2017-07-13

    Closing ticket, as changes are seen in SDK 6.1.2.v20170710160853.

JSON Source