Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 23C06E005BB; Wed, 18 Nov 2015 09:41:09 -0800 (PST) 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: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.88 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A0DBEE0049B for ; Wed, 18 Nov 2015 09:41:06 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 18 Nov 2015 09:41:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,313,1444719600"; d="scan'208";a="602677708" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by FMSMGA003.fm.intel.com with ESMTP; 18 Nov 2015 09:41:05 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.163]) by IRSMSX106.ger.corp.intel.com ([169.254.8.228]) with mapi id 14.03.0248.002; Wed, 18 Nov 2015 17:41:03 +0000 From: "Barros Pena, Belen" To: "Wood, Michael G" , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [PATCH] toaster: projectpage Make sure build targets are space separated Thread-Index: AQHRIihLeMwkG3pwq0Ce/NBQkBGY9g== Date: Wed, 18 Nov 2015 17:41:03 +0000 Message-ID: References: <1447761458-22686-1-git-send-email-michael.g.wood@intel.com> In-Reply-To: <1447761458-22686-1-git-send-email-michael.g.wood@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.7.151005 x-originating-ip: [10.237.224.84] MIME-Version: 1.0 Subject: Re: [PATCH] toaster: projectpage Make sure build targets are space separated 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: Wed, 18 Nov 2015 17:41:09 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 17/11/2015 11:57, "toaster-bounces@yoctoproject.org on behalf of Michael Wood" wrote: >Make sure the build targets are space separated when building multiple >targets. Also fix error path now that YOCTO #7995 is resolved. > >[YOCTO #8450] This works for me. Thanks! Bel=E9n > >Signed-off-by: Michael Wood >--- > .../toaster/toastergui/static/js/projectpage.js | 22 >+++++++++++++--------- > 1 file changed, 13 insertions(+), 9 deletions(-) > >diff --git a/bitbake/lib/toaster/toastergui/static/js/projectpage.js >b/bitbake/lib/toaster/toastergui/static/js/projectpage.js >index ae08d9a..8cbfa9e 100644 >--- a/bitbake/lib/toaster/toastergui/static/js/projectpage.js >+++ b/bitbake/lib/toaster/toastergui/static/js/projectpage.js >@@ -225,17 +225,21 @@ function projectPageInit(ctx) { >=20 > var toBuild =3D ""; > freqBuildList.find(":checked").each(function(){ >- toBuild +=3D $(this).val(); >+ toBuild +=3D $(this).val() + ' '; > }); >=20 >- libtoaster.startABuild(libtoaster.ctx.projectBuildsUrl, >libtoaster.ctx.projectId, toBuild, function(){ >- /* Build started */ >- window.location.replace(libtoaster.ctx.projectBuildsUrl); >- }, >- function(){ >- /* Build start failed */ >- /* [YOCTO #7995] */ >- window.location.replace(libtoaster.ctx.projectBuildsUrl); >+ toBuild =3D toBuild.trim(); >+ >+ libtoaster.startABuild(libtoaster.ctx.projectBuildsUrl, >+ libtoaster.ctx.projectId, >+ toBuild, >+ function(){ >+ /* Build request started */ >+ window.location.replace(libtoaster.ctx.projectBuildsUrl); >+ }, >+ function(){ >+ /* Build request failed */ >+ console.warn("Build request failed to be created"); > }); > }); >=20 >--=20 >2.5.0 > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster