Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D8710E00C96; Tue, 15 Sep 2015 03:52:35 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.24 listed in list.dnswl.org] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 94E2DE00B72 for ; Tue, 15 Sep 2015 03:52:33 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 15 Sep 2015 03:52:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,535,1437462000"; d="scan'208";a="789728641" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by fmsmga001.fm.intel.com with ESMTP; 15 Sep 2015 03:52:32 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.144]) by IRSMSX151.ger.corp.intel.com ([169.254.4.37]) with mapi id 14.03.0224.002; Tue, 15 Sep 2015 11:50:27 +0100 From: "Barros Pena, Belen" To: "Smith, Elliot" , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [review-request][PATCH 0/2] Prevent stale data in ToasterTables Thread-Index: AQHQ76RU4RSMDWWsSUaidJwM+14gTQ== Date: Tue, 15 Sep 2015 10:50:26 +0000 Message-ID: References: <1442243364-14257-1-git-send-email-elliot.smith@intel.com> In-Reply-To: <1442243364-14257-1-git-send-email-elliot.smith@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.4.150722 x-originating-ip: [10.237.224.81] MIME-Version: 1.0 Subject: Re: [review-request][PATCH 0/2] Prevent stale data in ToasterTables X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2015 10:52:35 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 14/09/2015 16:09, "toaster-bounces@yoctoproject.org on behalf of Elliot Smith" wrote: >Prevent incorrect caching of ToasterTable data so it doesn't go >stale as the user navigates browser history with back/forward. > >Changes since 75bad1b64bd485a50af69ed1f8663a0dadbb5f9e are in: >git://git.yoctoproject.org/poky-contrib, elliot/toaster/bad_caching-7660 >http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=3Delliot/toaster/= ba >d_caching-7660 This works for me: table entries seem to show the correct states now. Thanks! Bel=E9n > >Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D7660 > >I haven't tested every permutation of table navigation with this patch, >but issue 7660 is fixed. > >NB Bug 8294 (https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D8294) >causes incorrect data to display in a similar way, but the root cause >seems to be different (it's due to incorrect context update there, rather >than caching). This patch doesn't fix that. > >Elliot Smith (2): > toaster: Don't add new history entries when table data loads > toaster: Don't HTTP cache ToasterTable responses > > bitbake/lib/toaster/toastergui/static/js/table.js | 2 +- > bitbake/lib/toaster/toastergui/widgets.py | 5 +++++ > 2 files changed, 6 insertions(+), 1 deletion(-) > >-- >Elliot Smith >Software Engineer >Intel OTC > >--------------------------------------------------------------------- >Intel Corporation (UK) Limited >Registered No. 1134945 (England) >Registered Office: Pipers Way, Swindon SN3 1RJ >VAT No: 860 2173 47 > >This e-mail and any attachments may contain confidential material for >the sole use of the intended recipient(s). Any review or distribution >by others is strictly prohibited. If you are not the intended >recipient, please contact the sender and delete all copies. > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster