Bug report #14247
can't merge features if restrictive foreign key in place
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Digitising | ||
Affected QGIS version: | 2.8.5 | Regression?: | No |
Operating System: | ubuntu | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | worksforme |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22243 |
Description
I merged two features, a new one and an old one, keeping the attributes of the one that was already in the database.
I expected QGIS to add the merged feature before deleting the old one but instead it tries to delete the old one first and fails because that would cascade to a table with a restrictive FK. Is this intended and if so does this mean I have to drop the FK when I want to merge or can this behaviour be improved?
Related issues
History
#1 Updated by Jürgen Fischer almost 9 years ago
- Status changed from Open to Feedback
Conflicts #6422...
#2 Updated by Giovanni Manghi over 8 years ago
#3 Updated by Jürgen Fischer over 8 years ago
- Resolution set to worksforme
- Status changed from Feedback to Closed
closing for the lack of feedback