Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGg0k-0006da-DC for pgadmin-hackers@arkaria.postgresql.org; Mon, 01 Mar 2021 10:42:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lGg0h-0005hH-GW for pgadmin-hackers@arkaria.postgresql.org; Mon, 01 Mar 2021 10:42:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGg0h-0005dQ-B3 for pgadmin-hackers@lists.postgresql.org; Mon, 01 Mar 2021 10:42:43 +0000 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lGg0V-0004EP-Sr for pgadmin-hackers@postgresql.org; Mon, 01 Mar 2021 10:42:40 +0000 Received: by mail-yb1-xb2f.google.com with SMTP id x19so16483523ybe.0 for ; Mon, 01 Mar 2021 02:42:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=UICSRu4s/04kmSo+Qu+rhNDHh5uCwpO4G2qxTybbtIU=; b=k/bQA84oOyXk8DrMerSa0tRRCcokKS3EDO2DqE5mZsywLs/CfKKinEwpp1iz1MV2Q2 qFqe4/mshYodgkNuLl2XuBhGpn1mWUvB2oas/IZGZ1lySR2znPPYQeoAd+D/BMjkXWWA IWrZg0l1DlBdaSa222/IACC9XxrmLn4rUhYdMgEKL6LokhhPUmhg/9ytDgbhf3ZnlM9K oeqwwPKV4rwbmI9UXb5gZrzkaI+fA5QVK5z5ctOynSk0E8pLdqUPneqI0d9iXp3a9NU3 Kxz+JUtSdpy44282kX4KlF9/vOy3sMmn0Q2L5BxDjRgVRCVrTSxTDyy9VFkS4HCxdCMz nFXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UICSRu4s/04kmSo+Qu+rhNDHh5uCwpO4G2qxTybbtIU=; b=M38ucxjA4Q/RUieayB+ZxRrpreTuw01ZB3mUWkLQxuVGB8XmbFiN7YWOua0ra8tzOF Z7zt+9gB4ewgAa4R+XB0fuYkXOifaoiYRhRZ99XiKHgUM/CCd6Jf9QWFp6Z8WyS0pn9F pPOE2HdNVRg13H8Sg/RkpwjLbHu3umEgsl/qh1DUg39M099zdXdbXW0RDICcQUFbYjTK g5qsYJNKrjPTDYMM/scesteUd21kQEWJIjY6ulxil8wuY2v8LifkG7Pns/gpQGVWPz0D OpEEggXEWl/AkcbuTSoZvWgGIAgW1aRp5umnMybfHRLeLdjteJoRDswQHQHUfR/0Dox7 KniQ== X-Gm-Message-State: AOAM532TIjXzTK8If8nty6w1glghjZIq/K5ZvvUDHz6IYaRratMPtiSU g+kEt/FmzUlnKgOdGLvGCh1RL9rsgz/oYVIuwcxbPEwGP30hvIi8fZ1wXuvf6vMKB4gzhwi4toT yxKeOQv/MQbm+vJ+BohvqVKkliEqEtAv4yda/xyHM3sPhGCLtf30g3Yqo0G3aB7SWxz0Nh5b+3Z a6JsiiCz6oKF9+rINenNqK6L5wF65MvlNxRqhwgVcA45K7hP1KX9RYY1/jQNEkjhn7v7xe X-Google-Smtp-Source: ABdhPJwFT1/XfVjp66fqNMZbmOcnbXWKlyqyfW1futX3tj8D8/Vuy8WAooXNdFupJ72QzwGTS5b+vqXG4AofvXbFAls= X-Received: by 2002:a25:9306:: with SMTP id f6mr22613365ybo.483.1614595349300; Mon, 01 Mar 2021 02:42:29 -0800 (PST) MIME-Version: 1.0 From: Nikhil Mohite Date: Mon, 1 Mar 2021 16:12:18 +0530 Message-ID: Subject: [pgAdmin]: Patch for SonarQube fixes. To: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000405b8c05bc774611" X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000405b8c05bc774611 Content-Type: text/plain; charset="UTF-8" Hi Team, I have fixed a few sonarQube issues, PFA patch Details as follows: 1. Back-form (backform.pgadmin.js): - TypeError can be thrown as "$tabContent" might be null or undefined here. 2. User Management (user_management.js): - 'self' is already declared in the upper scope. - 'res' is already declared in the upper scope. - 'self' is already declared in the upper scope. - 'ownershipModel' is already declared in the upper scope. -- *Thanks & Regards,* *Nikhil Mohite* *Software Engineer.* *EDB Postgres* *Mob.No: +91-7798364578.* --000000000000405b8c05bc774611 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Team,

I have fixed a few=C2=A0<= span class=3D"gmail-il">sonarQube=C2=A0issues, PFA patch
D= etails as follows:

1. Back-form=C2=A0 (backf= orm.pgadmin.js):
  • TypeError can be thrown as "$tabContent&= quot; might be null or undefined here.
2. User Management (us= er_management.js):
  • 'self' is already declared in = the upper scope.
  • 'res' is already declared in the upper sc= ope.
  • 'self' is already declared in the upper scope.
  • 'ownershipModel' is already declared in the upper scope.
=

--
Thanks & Regards,
Nikhil Mohite
Software Engineer.
Mo= b.No: +91-7798364578.
--000000000000405b8c05bc774611--