WillTrem / UInnovate

MIT License
3 stars 1 forks source link

[BUG] weak entities Table don't display properly with primary key #331

Closed MaximeJoanisse closed 2 months ago

MaximeJoanisse commented 3 months ago

Description of the Bug

Tables with no direct primary key cannot be edited using the detail view.

How To Reproduce

Try to edit tables like quotation_line_item through the detail view and it'll fail.

Expected Behavior

detail view is supposed to lock primary keys from being changed and for weak entity table, block out specific foreign keys that are pointed out through the comment in Postgres

Actual Behavior

Throws 400 errors since the primary key is undefined.

Priority

High