Bug report #15977
Crash when saving new rows in MSSQL layer with a join
|Affected QGIS version:||2.18.0||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||23893|
When editing an MSSQL layer which has a join defined I can edit and delete existing records but if I add one or more new records I get a minidump as soon as I attempt to save the edits.
If I remove the join I can save new records without error.
The format of the joined layer does not seem to matter. I still get a crash whether the joined layer is a table or view in SQL Server or a CSV file.
Using SQL Server 2008 R2 and QGIS 2.18.1
#4 Updated by Jürgen Fischer over 4 years ago
Martin Bain wrote:
Tested with 2.19.0-2 and the problem still exists. However I notice the version of mssqlprovider.dll installed in qgis-dev is older (23/10/2016) than the one in 2.18 (26/11/2016). Maybe the nightly build doesn't include the commit from above.
There are currently no nightlies of master for windows. The last qgis-dev build are from the late master_2 branch.