https://issues.qgis.org/https://issues.qgis.org/favicon.ico2018-04-07T09:41:25ZQGIS Issue TrackingQGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=891502018-04-07T09:41:25ZGeo Dev
<ul></ul><p>More useful details using any shapefile:<br />deleting the first N features and saving the editing, in the attribute table exactly 2*N rows disappear.<br />N rows are correctly the features selected but the other N rows should not disappear.</p> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=898672018-05-26T10:21:55ZGeo Dev
<ul></ul><p>The issue still occurs in the last LTR.<br />The affected QGIS version can be updated to 2.18.20.</p> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=962072018-11-16T18:45:35ZGeo Dev
<ul></ul><p>The issue still occurs in QGIS 2.18.25.<br />It's a misleading issue since the user has the perception that more features than expected are deleted.</p> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=962362018-11-17T13:00:21ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Affected QGIS version</strong> changed from <i>2.18.17</i> to <i>2.18.24</i></li></ul> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=984642019-01-20T23:34:59ZJürgen Fischerjef@norbit.de
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.</p> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=990432019-01-26T18:18:16ZGeo Dev
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul><p>The issue also occurs with QGIS 3.4.4 and QGIS 3.5(master) but with a different behavior.</p>
<p>Now the following error appears:</p>
<blockquote>
<p>Commit errors: Could not commit changes to layer <layername><br />Errors: ERROR: 1 feature(s) not deleted. <br />Provider errors:<br />OGR error deleting feature 1:</p>
</blockquote>
<p>The steps to replicate the issue with QGIS 3.4.4 and QGIS 3.5(master) are slightly different:</p>
<p>- create a new shapefile (the issue doesn't occur with other data formats)<br />- start editing and add two features: the first one with id=1 and the second one with id=2 (the insertion order is important)<br />- save editing (without this step the issue doesn't occur)<br />- open the Attribute Table<br />- if the Attribute Table is not opened as docked window, dock it clicking on the button "Dock Attribute Table" <br />- select and delete the first feature inserted with id=1<br />- save editing<br />- select and delete the second feature inserted with id=2<br />- save editing: the OGR error appears</p>
<p>The issue doesn't occur if the Attribute Table is not docked or it's already open when the first "save editing" is done (third step).</p> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=990442019-01-26T18:52:37ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Affected QGIS version</strong> changed from <i>2.18.24</i> to <i>3.5(master)</i></li></ul> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=995322019-02-04T12:55:21ZJulien Cabiecesjulien.cabieces@oslandia.com
<ul><li><strong>Assignee</strong> set to <i>Julien Cabieces</i></li></ul> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=999252019-02-11T18:17:29ZJulien Cabiecesjulien.cabieces@oslandia.com
<ul><li><strong>Pull Request or Patch supplied</strong> changed from <i>No</i> to <i>Yes</i></li></ul><p>Proposed PR : <a class="external" href="https://github.com/qgis/QGIS/pull/9152">https://github.com/qgis/QGIS/pull/9152</a></p> QGIS Application - Bug report #18421: Attribute Table refresh issue when deleting features from shapefilehttps://issues.qgis.org/issues/18421?journal_id=1003352019-02-20T01:47:24ZJulien Cabiecesjulien.cabieces@oslandia.com
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Applied in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/627230c10ad66a48f6c47f73b0844b6d24e6d388" title="fixes #18421 : Keep options AUTO_REPACK=OFF when reloading data in ogr provider">qgis|627230c10ad66a48f6c47f73b0844b6d24e6d388</a>.</p>