Hi Harald,

On Fri, Mar 13, 2020 at 6:08 PM <harald.immerhei...@ruv.de> wrote:

> Hi Aditya,
>
>
>
> it is not a problem with the browser cache, it is a different behaviour if
> pgadmin is startet in the addressline oft he browser or via link clicking
> from an other site.
>
> If document.referrer is empty then Query tool can start in another browser
> tab.
>
> If document referrer contains another hostname then a cross site scripting
> police prevents access to javascript code in an other tab.
>
>
>
> I am not a web developer but i think this has to be fxed in .html or .js
> code.
>
The issue related to opening pgAdmin from a hyperlink was fixed -
https://redmine.postgresql.org/issues/4561. CORS is not an issue here.
This seems to be a different issue and is reproducible at my end with
different error.
Can you please log the issue here -
https://redmine.postgresql.org/projects/pgadmin4/issues/new


>
> I will wait for 4.20
>
>
>
> Thanks
>
> Harald
>
>
>
> *Von:* Aditya Toshniwal <aditya.toshni...@enterprisedb.com>
> *Gesendet:* Freitag, 13. März 2020 12:37
> *An:* Immerheiser, Harald <harald.immerhei...@ruv.de>
> *Cc:* pgAdmin Support <pgadmin-supp...@postgresql.org>
> *Betreff:* Re: Query tool does not load pgadmin 4
>
>
>
> Hi Harald,
>
>
>
> Try clearing the browser cache.
>
>
>
> On Fri, Mar 13, 2020 at 3:38 PM <harald.immerhei...@ruv.de> wrote:
>
> Hello,
>
>
>
> I am using pgadmin 4.19 in server mode and the query editor in a new
> browser tab just keeps spinning and says loading.
>
>
>
> In the Browser Console i can see th messsage:
>
> TypeError: e.get_preference(...) is undefined
>
>
>
> If i start the Query tool in the same window, it works fine.
>
> (File>Preferences>Query Tool>Display>Open in new browser tab = false)
>
>
>
> This only happens if pgAdmin is startet by clicking a Hyperlink from an
> Wiki an other host.
>
> If i start pgAdmin in the addressline of the browser there is no Problem.
>
>
>
> Regards
>
> Harald Immerheiser
>
>
>
>
> --
>
> Thanks and Regards,
>
> Aditya Toshniwal
>
> pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
>
> "Don't Complain about Heat, Plant a TREE"
>


-- 
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Reply via email to