Обсуждение: [pgAdmin III] #289: Foreign key UI bug
#289: Foreign key UI bug -------------------------+-------------------------------------------------- Reporter: Aren Cambre | Owner: gleu Type: bug | Status: new Priority: minor | Milestone: Component: pgadmin | Version: 1.12 Keywords: foreignkey | Platform: all -------------------------+-------------------------------------------------- I found a UI bug when creating a foreign key. When creating a primary key, all you have to do is select the column in the *Columns* tab of the dialog. You don't have to fill out any other fields; pgadmin appears to take care of this for you. It seems then that with a foreign key, all you should have to fill out is fill out the *References* field in the *Properties *tab, then in the *Columns* tab just select the relevant columns. If I do this and press OK, I get this error: *An error has occurred:* *ERROR: relation "fki_" already exists.* If I go back to the *Properties* tab and enter something into the *Name* field, then press *OK*, it works. The problem: I don't need to enter anything in the *Name* field of primary key dialogs, but I do with foreign key dialogs. Can it be consistent where I don't need to enter a *Name* field of the foreign key, either. -- Ticket URL: <http://code.pgadmin.org/trac/ticket/289> pgAdmin III <http://code.pgadmin.org/trac/> pgAdmin III
#289: Foreign key UI bug -------------------------+-------------------------------------------------- Reporter: Aren Cambre | Owner: gleu Type: bug | Status: assigned Priority: minor | Milestone: Component: pgadmin | Version: 1.12 Keywords: foreignkey | Platform: all -------------------------+-------------------------------------------------- Changes (by gleu): * status: new => assigned -- Ticket URL: <http://code.pgadmin.org/trac/ticket/289#comment:1> pgAdmin III <http://code.pgadmin.org/trac/> pgAdmin III
#289: Foreign key UI bug --------------------------+------------------------------------------------- Reporter: Aren Cambre | Owner: gleu Type: bug | Status: closed Priority: minor | Milestone: 1.12.2 Component: pgadmin | Version: 1.12 Resolution: fixed | Keywords: foreignkey Platform: all | --------------------------+------------------------------------------------- Changes (by gleu): * status: assigned => closed * resolution: => fixed * milestone: => 1.12.2 Comment: Fixed in http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commit;h=0306e70a4cfd5d7c28d3084ecfa925ed2ababce4 and http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commit;h=ac23cf1407dce26ec15052acd285920de169b73d. -- Ticket URL: <http://code.pgadmin.org/trac/ticket/289#comment:2> pgAdmin III <http://code.pgadmin.org/trac/> pgAdmin III