FK dialog shows deleted attributes in Referencing combobox

Lists: pgadmin-support
From: Julius Tuskenis <julius(at)nsoft(dot)lt>
To: pgadmin-support(at)postgresql(dot)org
Subject: FK dialog shows deleted attributes in Referencing combobox
Date: 2011-08-30 16:11:46
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgadmin-support

Hello,

Foreign Key dialog shows deleted attributes in combo box "Referencing".
In "Local column" combo box these are hidden. Attaching picture.

Steps to reporduce:
1. Go to table having deleted attributes, pick constraints
2. Right click, New Object, New Foreign Key
3. Check the values of "Referencing" combo box

pgAdmin 1.14.0 RC1
OS: Windows XP SP3
PG: Version string PostgreSQL 8.3.15, compiled by Visual C++ build 1400

Fix is also attached.

Thank you for the pgAdmin.

--
Julius Tuskenis
Programavimo skyriaus vadovas
UAB nSoft
mob. +37068233050

Attachment Content-Type Size
image/png 11.2 KB
0001-Fixed-Combobox-for-Reference-columns-showing-dropped.patch text/x-patch 0 bytes

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Julius Tuskenis <julius(at)nsoft(dot)lt>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: FK dialog shows deleted attributes in Referencing combobox
Date: 2011-08-30 20:11:39
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgadmin-support

Hi,

On Tue, 2011-08-30 at 19:11 +0300, Julius Tuskenis wrote:
> Hello,
>
> Foreign Key dialog shows deleted attributes in combo box "Referencing".
> In "Local column" combo box these are hidden. Attaching picture.
>
> Steps to reporduce:
> 1. Go to table having deleted attributes, pick constraints
> 2. Right click, New Object, New Foreign Key
> 3. Check the values of "Referencing" combo box
>
> pgAdmin 1.14.0 RC1
> OS: Windows XP SP3
> PG: Version string PostgreSQL 8.3.15, compiled by Visual C++ build 1400
>
> Fix is also attached.
>

Works great. Commited, thanks.

> Thank you for the pgAdmin.
>

And thank you for the patch :)

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com