[Pgadmin] [Docker] servers.json import fails when running indesktop mode - Mailing list pgadmin-hackers

From Levitt Olivier
Subject [Pgadmin] [Docker] servers.json import fails when running indesktop mode
Date
Msg-id 74F4D0C2ACDFA04BA40C6475ADAE217529FA3FDA@pdexchbalwst03.ad.insee.intra
Whole thread Raw
Responses Re: [Pgadmin] [Docker] servers.json import fails when running indesktop mode  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi,

When running the docker image in desktop mode (PGADMIN_CONFIG_SERVER_MODE=False), no user is created. That is expected
behaviour.
But then the code that imports the servers.json pre-configuration fails as it ties the import to the default user.

I think line 40 of entrypoint.sh
(https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=blob;f=pkg/docker/entrypoint.sh;h=47d14bf2d415777c64b221fb1fc75d61c5e3cecc;hb=HEAD)
shouldnot specify a user when running in dekstop mode.  
I tested it without --user parameter and it successfully imported the servers.json configuration.

Should I submit a patch ? First time contributing to Pgadmin :)

Regards,
Olivier Levitt



pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][RM4764][Accessibility] Allow screen-reader to readrelationship attributes in nested elements
Next
From: Ashesh Vashi
Date:
Subject: Re: [Pgadmin] [Docker] servers.json import fails when running indesktop mode