Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 11A3A200CCF for ; Mon, 24 Jul 2017 12:32:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1053C163E1E; Mon, 24 Jul 2017 10:32:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 562BE163E04 for ; Mon, 24 Jul 2017 12:32:28 +0200 (CEST) Received: (qmail 63737 invoked by uid 500); 24 Jul 2017 10:32:22 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 63719 invoked by uid 99); 24 Jul 2017 10:32:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2017 10:32:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C35CEC023D for ; Mon, 24 Jul 2017 10:32:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.679 X-Spam-Level: X-Spam-Status: No, score=0.679 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ZAMeStESXAIk for ; Mon, 24 Jul 2017 10:32:19 +0000 (UTC) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E4F065FCB0 for ; Mon, 24 Jul 2017 10:32:18 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id c184so27761391wmd.0 for ; Mon, 24 Jul 2017 03:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=5K71GcsZVmUKVxcmyQea5cSxYgYPQGVU0jjt3Wl2VCY=; b=A8jdWzAUFl+BlpkrzJVbwdZim1WwcAe2PcHmbJdMrPMivtNNFy9sVxrVCwR8gET0uG SJpNLu7sEPLj6vx+86GVEf3/cyVX5w5EMGrKNhVJAU2OZ0bBHBE+neAIRRjS1iMXEsyZ U9cnLax1yMTKaXsioQNr9ohRxu23aTTWKkDNG2iyFFvD/GBM2La45/DRVVk8DhQ980oB RTiNXqTaA1orTij5m1A0xEN/JgSzE9z6bTmQaLZX7jiIJmyALztgtYn7SZVb6oz5DBYd xuILz+8pNxINdlGb+EAwudaHssohYV3lzGo8bTBnqaBHrsHCB2j/BCflav73NCw1ROX5 w62w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=5K71GcsZVmUKVxcmyQea5cSxYgYPQGVU0jjt3Wl2VCY=; b=MKv3Zr1XWrP0cnwPszzEYeZX5dTFDMeLrUDbAExW82XUaMqWSQKBuX4FROAkNyiKP2 0DJ2KEokOO1Bq4E1LRTO9JfHT5sT0Atf02N+mpa5M++nNIfFUT7LZrS0j8FgA/jll2zo cXpgWaAGn8+Kw/lBxw99XWEse3uN9OuAOP/ZXZWh1FG77+q8h58JA5O5CmgM9Wyjvwm8 FICId+12AC3qgg2M27iydDYXqcJ04hNflp+OHoUJuNZX/bt0NrpmFB+aHQM0A2D5OpYx dFnSq4B6l3oC4Mxm6XvXOE3/OrA2/hFjGf0XUHIOwHY/rf7YcGFG4KcvxYakEGDJc26Z pu3A== X-Gm-Message-State: AIVw1121kyW+6GqF3GeyPM4Wqm9DaPQZ0Kc35Vz69Pq/wEtStDkp1ixW EwIqlZJ4ohQwl32dTUQ= X-Received: by 10.28.188.85 with SMTP id m82mr3287289wmf.3.1500892338018; Mon, 24 Jul 2017 03:32:18 -0700 (PDT) Received: from [10.0.0.26] ([82.166.23.15]) by smtp.gmail.com with ESMTPSA id v16sm15407285wrc.65.2017.07.24.03.32.16 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Jul 2017 03:32:17 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: git commit: [flex-asjs] [refs/heads/develop] - This appears to be inoperative. I believe this change is correct, but it really needs a test. From: Harbs In-Reply-To: <51d34a6dc51048018d0a5a0d76262ab3@git.apache.org> Date: Mon, 24 Jul 2017 13:32:15 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <51d34a6dc51048018d0a5a0d76262ab3@git.apache.org> To: dev@flex.apache.org X-Mailer: Apple Mail (2.2104) archived-at: Mon, 24 Jul 2017 10:32:29 -0000 While researching the issue I had, I noticed this code. It appears to be removing the event handlers from the object and then = adding them back to the same objects. I believe the change I wrote is = necessary to add the event handlers to the new object, but I=E2=80=99d = appreciate if we get some additional eyeballs on this. I did not see any tests for this, and I don=E2=80=99t have the time = right now to write one. Thanks, Harbs =20 > On Jul 24, 2017, at 1:29 PM, harbs@apache.org wrote: >=20 > Repository: flex-asjs > Updated Branches: > refs/heads/develop 2458fe559 -> 61ef18b9a >=20 >=20 > This appears to be inoperative. I believe this change is correct, but = it really needs a test. >=20 >=20 > Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo > Commit: = http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/61ef18b9 > Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/61ef18b9 > Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/61ef18b9 >=20 > Branch: refs/heads/develop > Commit: 61ef18b9adce1b6fbc650cd07654198e90d780d5 > Parents: 2458fe5 > Author: Harbs > Authored: Mon Jul 24 13:29:05 2017 +0300 > Committer: Harbs > Committed: Mon Jul 24 13:29:05 2017 +0300 >=20 > ---------------------------------------------------------------------- > .../flex/org/apache/flex/html/beads/DataProviderChangeNotifier.as | 3 = +++ > 1 file changed, 3 insertions(+) > ---------------------------------------------------------------------- >=20 >=20 > = http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/61ef18b9/frameworks/= projects/Basic/src/main/flex/org/apache/flex/html/beads/DataProviderChange= Notifier.as > ---------------------------------------------------------------------- > diff --git = a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataP= roviderChangeNotifier.as = b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataP= roviderChangeNotifier.as > index e8c28bd..bab1c4a 100644 > --- = a/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataP= roviderChangeNotifier.as > +++ = b/frameworks/projects/Basic/src/main/flex/org/apache/flex/html/beads/DataP= roviderChangeNotifier.as > @@ -56,10 +56,13 @@ package org.apache.flex.html.beads > } > else > { > + if(object[propertyName] =3D=3D = dataProvider) > + return; > dataProvider.removeEventListener("itemAdded", = handleDataProviderChanges); > dataProvider.removeEventListener("itemRemoved", = handleDataProviderChanges); > dataProvider.removeEventListener("itemUpdated", = handleDataProviderChanges); > dataProvider.removeEventListener("collectionChanged", = handleDataProviderChanges); > + dataProvider =3D object[propertyName] as = ArrayList; > } >=20 > dataProvider.addEventListener("itemAdded", = handleDataProviderChanges); >=20