Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98EF51783C for ; Thu, 2 Oct 2014 22:54:24 +0000 (UTC) Received: (qmail 46061 invoked by uid 500); 2 Oct 2014 22:54:24 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 46027 invoked by uid 500); 2 Oct 2014 22:54:24 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 46013 invoked by uid 99); 2 Oct 2014 22:54:24 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2014 22:54:24 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 86D171DDC19; Thu, 2 Oct 2014 22:54:20 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7569145994767148562==" MIME-Version: 1.0 Subject: Review Request 26292: Views are not loading right after login From: "Jaimin Jetly" To: "Yusaku Sako" , "Srimanth Gunturi" Cc: "Ambari" , "Jaimin Jetly" Date: Thu, 02 Oct 2014 22:54:20 -0000 Message-ID: <20141002225420.19177.18417@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Jaimin Jetly" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/26292/ X-Sender: "Jaimin Jetly" Reply-To: "Jaimin Jetly" X-ReviewRequest-Repository: ambari --===============7569145994767148562== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26292/ ----------------------------------------------------------- Review request for Ambari, Srimanth Gunturi and Yusaku Sako. Bugs: AMBARI-7620 https://issues.apache.org/jira/browse/AMBARI-7620 Repository: ambari Description ------- 1) I have a user has a view. 2) Login but user has no views. 3) refresh browser and I have the view 1) I have a user has a view. 2) Login but user has no views. 3) click on the views icon and views load Seems right after login, you can hit a scneario where you haven't auth'd yet and as ambari web is loading it tries to get the views (which has an access issue) "NetworkError: 403 Full authentication ...to access this resource - http://c6401.ambari.apache.org:8080/api/v1/views?_=1411073940090" Diffs ----- ambari-web/app/controllers/main/views_controller.js cc3499c ambari-web/app/router.js e1c2a5c Diff: https://reviews.apache.org/r/26292/diff/ Testing ------- Thanks, Jaimin Jetly --===============7569145994767148562==--