Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmI8M-0003b1-TL for pgadmin-hackers@arkaria.postgresql.org; Tue, 20 Sep 2016 10:18:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bmI8M-0007hC-Go for pgadmin-hackers@arkaria.postgresql.org; Tue, 20 Sep 2016 10:18:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bmI8L-0007fu-QY for pgadmin-hackers@postgresql.org; Tue, 20 Sep 2016 10:18:37 +0000 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bmI8I-0003Qu-DI for pgadmin-hackers@postgresql.org; Tue, 20 Sep 2016 10:18:37 +0000 Received: by mail-io0-x22f.google.com with SMTP id q92so14868963ioi.1 for ; Tue, 20 Sep 2016 03:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jnb894PsYx+wErVMTL6h/ugq9FK7LSxSLagoA+WNNsY=; b=UFTcfJoIV2iR6KKEgdN3YNyKWVi1MXsdtWGKEuL0G/iD4SO5bBCN2q8h8yQwmCOAeS siE1HjLZFo6ct1UtjfWui5xQCUFIcP5h2xvkpBtuFT/iqzQecKezHzZiIDPUGONOBWFd RAfZ3lYQqkER+g84BE2CNrlwEUqH8MHvvptqZS8aIkpbcWb8Y+jqCh1i0cWLzXrh3/hf ge2QituLdSryFSMR3pBz52bMM4JTeJej6Uet/BZx8gA7QJd8pGfKXz+BaRwsaQaOvwpp ksfCxhG9mhhhkBYkQEP53Sb3+OLVG/l7pwBXxIf7HQjwqm7uObBeEe6eIL8e8joGbgF3 DfAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jnb894PsYx+wErVMTL6h/ugq9FK7LSxSLagoA+WNNsY=; b=QkL+lTNLbxFq7YAKoqvu8HQm1fUqkckHIAM1RW/aEhODcVRdAYfSi+Sv/XbbnVE9s9 DlNotc9wOdioVeZP3ja21DQ7ve4dDkpYnG3rEsWxxBozvmKceok1gNg+BnACfFK1ZEhA wqe8LPTyWMKV9pQmB1NyvOYSCREFzOIaFn9Y2quQI1DvhV9XCVM2Lq79SYvIrXX6mDF/ vOMPL9hxPqQQAjvjpGR2Fo3kxYpUK/eKOjefHsZA3BjrdnrTPw0FVWc/X0DFVcPFOenh /c8n/MGAJLVFv1uAkFYExy875KEpoAa26vfyruSsVQiVudw+T/zjkTSCIp/C6bhnIDSW FR1Q== X-Gm-Message-State: AE9vXwNAOPodNzQ/4Bt7EfjGIMir0JrU9ZS95P7o4eiT+M7D9zY9aGYfFFD0iWyrbHemmCWWEMp4xHSHNk4dHA== X-Received: by 10.107.43.18 with SMTP id r18mr40974475ior.101.1474366712581; Tue, 20 Sep 2016 03:18:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Tue, 20 Sep 2016 03:18:31 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Tue, 20 Sep 2016 11:18:31 +0100 Message-ID: Subject: Re: [pgAdmin4][Patch]: RM1627 - Objects are not visible after creation until press refresh button To: Surinder Kumar Cc: pgadmin-hackers , Ashesh Vashi Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org On Tue, Sep 20, 2016 at 10:22 AM, Surinder Kumar wrote: > On Mon, Sep 19, 2016 at 9:49 PM, Dave Page wrote: >> >> Hi >> >> >> On Mon, Sep 19, 2016 at 4:23 PM, Surinder Kumar >> wrote: >> > Hi >> > >> > Please find patch with following fixes: >> > >> > 1) Newly added server-group not listing in tree view. >> > >> > 2) On creating a first node for collection node with no child. the >> > created >> > node doesn't show up under its respective parent node. >> > - to add a node to child under its parent node. its parent node >> > attribute >> > must be set 'inode: true' but it always gets false for inode that >> > doesn't >> > add the node. >> > >> > Ashesh - Can you please review it? >> >> I tested this by adding a sequence to a database and schema that >> didn't previously contain any. The node was not added, and in the >> Javascript console I get: >> >> browser.js:1108 Failed to append > > This issue is taken care in updated patch, Also properly handled the case > for 'server-group' not listing in tree view, thus removing > 'addNodeWithNoParent' method from previous patch. > I have tested it for most of the nodes, it works. > Please find updated patch and review. Works nicely - applied, thanks. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers