From: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> |
---|---|
To: | Harald(dot)Immerheiser(at)ruv(dot)de |
Cc: | pgAdmin Support <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: Query tool does not load pgadmin 4 |
Date: | 2020-03-13 13:19:40 |
Message-ID: | CAM9w-_mr-Qsk0Xi7i0711GHLsdoiHEC5N9255UB3GfCiDucUQg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi Harald,
On Fri, Mar 13, 2020 at 6:08 PM <Harald(dot)Immerheiser(at)ruv(dot)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(dot)toshniwal(at)enterprisedb(dot)com>
> *Gesendet:* Freitag, 13. März 2020 12:37
> *An:* Immerheiser, Harald <Harald(dot)Immerheiser(at)RUV(dot)de>
> *Cc:* pgAdmin Support <pgadmin-support(at)postgresql(dot)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(dot)Immerheiser(at)ruv(dot)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"
From | Date | Subject | |
---|---|---|---|
Next Message | Peter | 2020-03-20 08:58:02 | Re: [SOLVED] Re: pgAdmin 4 + python wheel + kerberos |
Previous Message | Harald.Immerheiser | 2020-03-13 12:38:38 | AW: Query tool does not load pgadmin 4 |