Thanks, applied.
On Thu, Jun 18, 2020 at 2:17 PM Akshay Joshi
wrote:
> Hi Hackers
>
> Attached is the patch to fix almost 24 bugs of the following type:
>
>- TypeError can be thrown as might be null or
>undefined here.
>- TypeError can be thrown as this operand might have a primitiv
More code cleanup for SonarQube.
Branch
--
master
Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=bc24e3643fc9508f3f7f7f0b72e26335a312f86e
Author: Akshay Joshi
Modified Files
--
.../misc/file_manager/static/js/select_dialogue.js | 2 +-
web/pgadmi
Hi Hackers
Attached is the patch to fix almost 24 bugs of the following type:
- TypeError can be thrown as might be null or undefined
here.
- TypeError can be thrown as this operand might have a primitive type.
- The conditional operation returns the same value whether the condition
Thanks, patch applied.
On Thu, Jun 18, 2020 at 3:07 PM Aditya Toshniwal <
aditya.toshni...@enterprisedb.com> wrote:
> Hi,
>
> The last patch committed creates a regression where setting the master
> password fails. Attached is the fix.
>
> On Thu, Jun 18, 2020 at 11:15 AM Akshay Joshi <
> akshay.
Thanks, patch applied.
On Thu, Jun 18, 2020 at 12:10 PM Yogesh Mahajan <
yogesh.maha...@enterprisedb.com> wrote:
> Hi,
>
> Please find patching and fixing issues related to "Rule *Comma operator
> should not be used*"
> across the project.
>
>
> Thanks,
> Yogesh Mahajan
> QA - Team
> Enterprise
Thanks, patch applied.
On Thu, Jun 18, 2020 at 3:21 PM Satish V wrote:
> Hi Akshay,
>
> Please find the updated Patch in the attachment which does not introduce
> more code smell.
>
> Thanks
> Sathish V
>
> On Thu, Jun 18, 2020 at 12:48 PM Akshay Joshi <
> akshay.jo...@enterprisedb.com> wrote:
>
Replace if-then-else statement by a single return statement, issue reported by
SonarQube.
Branch
--
master
Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=905be1d8948435fde2664002b74ef12e737854ba
Author: Satish V
Modified Files
--
.../index_const
Fixed the master password issue, introduced in the last commit.
Branch
--
master
Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a278e8b1e666fe6b0b8067f99feeab6b96b024f5
Author: Aditya Toshniwal
Modified Files
--
web/pgadmin/browser/static/js/brow
Fixed 'Comma operator should not be used' issue reported by SonarQube.
Branch
--
master
Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6d3f13076f78c6d0b2d9e3482b19387dc1a7d74f
Author: Yogesh Mahajan
Modified Files
--
.../browser/server_groups/ser
Hi Akshay,
Please find the updated Patch in the attachment which does not introduce
more code smell.
Thanks
Sathish V
On Thu, Jun 18, 2020 at 12:48 PM Akshay Joshi
wrote:
> Hi Satish
>
> Fixes like below will create another code smell in SonarQube:
>
>- !(m.label == 'pg_global') should be
Hi,
The last patch committed creates a regression where setting the master
password fails. Attached is the fix.
On Thu, Jun 18, 2020 at 11:15 AM Akshay Joshi
wrote:
> Thanks, patch applied.
>
> On Thu, Jun 18, 2020 at 10:36 AM Aditya Toshniwal <
> aditya.toshni...@enterprisedb.com> wrote:
>
>>
Hi Satish
Fixes like below will create another code smell in SonarQube:
- !(m.label == 'pg_global') should be *(m.label != 'pg_global')*
- !(_.isUndefined(index) || index == '');
- !(_.has(itemData, 'label') && itemData.label === '_RETURN');
- .
Please fix such errors correctly a
12 matches
Mail list logo