Bug report #14247
can't merge features if restrictive foreign key in place
|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|
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?