Обсуждение: Dashboard-Server activity-Details does not work if pgAdmin4 isstartet per Hyperlink from an other host

Поиск
Список
Период
Сортировка

Hi,

 

i use a link in a Wiki on an other host to start a pgAdmin Session in my browser.

If i open the Details for a session in the Server activity window on the Dashboard, i get an exception in the Browser (Firefox):

 

DOMException: Permission denied to access property "pgAdmin" on cross-origin object

 

and a hint to code snippet  in pgadmin_commons.js:

 

              var t = window.opener ? window.opener.pgAdmin.Browser : window.top.pgAdmin.Browser,

 

The problem diappears if i set window.opener=null; in the js-console in developer tools.

If i start pgAdmin in the addressline of the Browser there is no Problem.

 

 

Regards

Harald Immerheiser

 

Вложения