pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.53k stars 658 forks source link

Can't delete rows when using composite primary key (RM #2425) #1174

Closed dpage closed 2 years ago

dpage commented 7 years ago

Issue migrated from Redmine: https://redmine.postgresql.org/issues/2425 Originally created by flu ance at 2017-05-22 13:53:34 UTC.

Version1.5 Python Version3.5.2 (default, Nov 7 2016, 11:31:36) [GCC 6.2.1 20160830] Flask Version0.11.1 Application ModeDesktop

When a table has a composite primary key (in this case an int and a varchar), it's not possible to mark the rows and the delete icon is greyed out when data are displayed with any of "View Data" menus. But when the primary key id a single column, it is possible to mark the rows and to delete them.

dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/2425#note-1 Originally created by Dave Page at 2017-05-22 21:15:33 UTC.

Redmine ticket header update:

Name Old Value New Value
Priority changed Normal Urgent
Fixed Version changed 1.6
dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/2425#note-2 Originally created by Khushboo Vashi at 2017-05-29 06:49:54 UTC.

Redmine ticket header update:

Name Old Value New Value
Status changed New In Progress
Assigned To changed Khushboo Vashi
dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/2425#note-3 Originally created by Khushboo Vashi at 2017-05-31 10:02:59 UTC.

Patch submitted. https://www.postgresql.org/message-id/CAFOhELeqTVxWNM9NrR5LcTpDsq0O-6r3zyzeWPS4b_eRPVBAPQ@mail.gmail.com

dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/2425#note-4 Originally created by Khushboo Vashi at 2017-06-06 08:58:51 UTC.

Applied in changeset commit:d21cbb8b1ffbd011cd5238f637580963504e3bb0.

Redmine ticket header update:

Name Old Value New Value
Status changed In Progress In Testing
Done Ratio changed 0 90
dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/2425#note-5 Originally created by Fahar Abbas at 2017-07-13 08:06:59 UTC.

This is resolved in pgAdmin4 1.6 release on Windows and OS X Build for community pgAdmin4.

Redmine ticket header update:

Name Old Value New Value
Status changed In Testing Resolved
dpage commented 6 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/2425#note-6 Originally created by Fahar Abbas at 2018-01-09 05:37:12 UTC.

Redmine ticket header update:

Name Old Value New Value
Done Ratio changed 90 100
dpage commented 2 years ago

Issue closed on Redmine.