Обсуждение: [pgAdmin4][Patch]: TypeError: Cannot read property 'generate_url' of undefined

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

[pgAdmin4][Patch]: TypeError: Cannot read property 'generate_url' of undefined

От
Surinder Kumar
Дата:
Hi,

Issue: When any of the docked tab(statistics, dependents & dependencies) are clicked without selecting any tree node. it gives error in browser console panel.
Because the node passed is undefined. and check is missing. This is now fixed by adding check for node passed.

So, please review the attached patch for the fix.

Thanks,
Surinder Kumar
Вложения

Re: [pgAdmin4][Patch]: TypeError: Cannot read property 'generate_url' of undefined

От
Dave Page
Дата:
Thanks, applied.

On Tue, Jun 7, 2016 at 12:02 PM, Surinder Kumar
<surinder.kumar@enterprisedb.com> wrote:
> Hi,
>
> Issue: When any of the docked tab(statistics, dependents & dependencies) are
> clicked without selecting any tree node. it gives error in browser console
> panel.
> Because the node passed is undefined. and check is missing. This is now
> fixed by adding check for node passed.
>
> So, please review the attached patch for the fix.
>
> Thanks,
> Surinder Kumar
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company