AW: Query tool does not load pgadmin 4

Поиск
Список
Период
Сортировка
От
Тема AW: Query tool does not load pgadmin 4
Дата
Msg-id 1fed974c670c42aeb4fe12e95eef4e35@RUV.de
обсуждение исходный текст
Ответ на Re: Query tool does not load pgadmin 4  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Ответы Re: Query tool does not load pgadmin 4  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Список pgadmin-support

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.

 

I will wait for 4.20

 

Thanks

Harald

 

Von: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Gesendet: Freitag, 13. März 2020 12:37
An: Immerheiser, Harald <Harald.Immerheiser@RUV.de>
Cc: pgAdmin Support <pgadmin-support@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.Immerheiser@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"

Вложения

В списке pgadmin-support по дате отправления:

Предыдущее
От: Aditya Toshniwal
Дата:
Сообщение: Re: Query tool does not load pgadmin 4
Следующее
От: Aditya Toshniwal
Дата:
Сообщение: Re: Query tool does not load pgadmin 4