Thread: [BUG] Meaningless dialogue when deleting foreign key

[BUG] Meaningless dialogue when deleting foreign key

From
Thom Brown
Date:
Hi,

I'm using PgAdmin III 1.14 beta 2 on OSX.  When attempting to delete a
foreign key on a table, a dialogue comes up saying "Foreign Key -
Foreign Key - No / Yes"

Screenshot attached.

I would expect this to say something more like "Drop foreign key? -
Are you sure you wish to drop foreign key "fk_name"? - No / Yes"

Is this a known bug?

Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

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

Attachment

Re: [BUG] Meaningless dialogue when deleting foreign key

From
Guillaume Lelarge
Date:
On Sat, 2011-07-02 at 12:12 +0100, Thom Brown wrote:
> Hi,
>
> I'm using PgAdmin III 1.14 beta 2 on OSX.  When attempting to delete a
> foreign key on a table, a dialogue comes up saying "Foreign Key -
> Foreign Key - No / Yes"
>
> Screenshot attached.
>
> I would expect this to say something more like "Drop foreign key? -
> Are you sure you wish to drop foreign key "fk_name"? - No / Yes"
>
> Is this a known bug?
>

Yeah. Better than that actually : it is a fixed bug :) Fix is available
in git since 2011-06-11, and will appear first in beta 3.


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


Re: [BUG] Meaningless dialogue when deleting foreign key

From
Thom Brown
Date:
On 2 July 2011 13:08, Guillaume Lelarge <guillaume@lelarge.info> wrote:
> On Sat, 2011-07-02 at 12:12 +0100, Thom Brown wrote:
>> Hi,
>>
>> I'm using PgAdmin III 1.14 beta 2 on OSX.  When attempting to delete a
>> foreign key on a table, a dialogue comes up saying "Foreign Key -
>> Foreign Key - No / Yes"
>>
>> Screenshot attached.
>>
>> I would expect this to say something more like "Drop foreign key? -
>> Are you sure you wish to drop foreign key "fk_name"? - No / Yes"
>>
>> Is this a known bug?
>>
>
> Yeah. Better than that actually : it is a fixed bug :) Fix is available
> in git since 2011-06-11, and will appear first in beta 3.

Thanks Guillaume.  I'm having trouble finding these fixes by the look
of things as a search didn't show it up.  I'll have to search more
thoroughly next time. :)

Any ETA for beta 3?

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

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

Re: [BUG] Meaningless dialogue when deleting foreign key

From
Guillaume Lelarge
Date:
On Sat, 2011-07-02 at 13:11 +0100, Thom Brown wrote:
> On 2 July 2011 13:08, Guillaume Lelarge <guillaume@lelarge.info> wrote:
> > On Sat, 2011-07-02 at 12:12 +0100, Thom Brown wrote:
> >> Hi,
> >>
> >> I'm using PgAdmin III 1.14 beta 2 on OSX.  When attempting to delete a
> >> foreign key on a table, a dialogue comes up saying "Foreign Key -
> >> Foreign Key - No / Yes"
> >>
> >> Screenshot attached.
> >>
> >> I would expect this to say something more like "Drop foreign key? -
> >> Are you sure you wish to drop foreign key "fk_name"? - No / Yes"
> >>
> >> Is this a known bug?
> >>
> >
> > Yeah. Better than that actually : it is a fixed bug :) Fix is available
> > in git since 2011-06-11, and will appear first in beta 3.
>
> Thanks Guillaume.  I'm having trouble finding these fixes by the look
> of things as a search didn't show it up.  I'll have to search more
> thoroughly next time. :)
>

Good luck with that, my commit message was somewhat cryptic (Fix our
i18n support). See
https://github.com/postgres/pgadmin3/commit/6f88f423f024d9ed5d6081c66f2351249a5bd190

> Any ETA for beta 3?
>

Nope. I could reply "at the same time than PostgreSQL 9.1 beta 3", but
this won't help you more.


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