https://issues.qgis.org/https://issues.qgis.org/favicon.ico2014-09-24T13:35:50ZQGIS Issue TrackingQGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=554932014-09-24T13:35:50ZPedro Venânciopedrongvenancio@gmail.com
<ul></ul><p>"Unlink feature" button has exactly the same behavior, ie, does not work in form view, and works correctly in table view.</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=570352014-10-31T04:55:23ZJürgen Fischerjef@norbit.de
<ul><li><strong>Target version</strong> changed from <i>Version 2.6</i> to <i>Future Release - High Priority</i></li></ul> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649232015-10-28T08:52:34ZAlessandro Pasotti
<ul><li><strong>Assignee</strong> set to <i>Alessandro Pasotti</i></li></ul> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649242015-10-28T09:11:14ZAlessandro Pasotti
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>not reproducable</i></li></ul><p>I cannot reproduce on >= 2.8 (also tested 2.12 and current master)</p>
<p>Can you please test 2.8 and latest release?</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649392015-10-29T04:30:49ZTudor Bărăscutudorbarascu@yahoo.com
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li><li><strong>File</strong> <a href="/attachments/download/9232/bug_relations.zip">bug_relations.zip</a> added</li></ul><p>I tested under 2.8, 2.12 and master and it's still present.<br />I attached data so that you can easily see the bug.</p>
<p>Steps to reproduce:</p>
<p>- opening the subscriber form, you cannot unlink a subscriber (I also attached a snapshot) unless you're using list view</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649402015-10-29T04:45:14ZAlessandro Pasotti
<ul></ul><p>I believe that there is a misunderstanding about how this dialog is supposed to work: the delete tool will delete "selected" feature (as stated in the tooltip), when you click on a feature in the left list of the dialog you load its data in the form but it is not automatically selected.<br />To select a feature you have to click on the grey square icon (which turns yellow), after doing that, you can delete it.</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649412015-10-29T04:46:22ZPedro Venânciopedrongvenancio@gmail.com
<ul></ul><p>Tudor Bărăscu wrote:</p>
<blockquote>
<p>I tested under 2.8, 2.12 and master and it's still present.<br />I attached data so that you can easily see the bug.</p>
<p>Steps to reproduce:</p>
<p>- opening the subscriber form, you cannot unlink a subscriber (I also attached a snapshot) unless you're using list view</p>
</blockquote>
<p>I also still confirm this on Windows (both with Delete and Unlink). I'll try in Linux later and report.</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649422015-10-29T04:54:49ZTudor Bărăscutudorbarascu@yahoo.com
<ul></ul><p>Alessandro Pasotti wrote:</p>
<blockquote>
<p>I believe that there is a misunderstanding about how this dialog is supposed to work: the delete tool will delete "selected" feature (as stated in the tooltip), when you click on a feature in the left list of the dialog you load its data in the form but it is not automatically selected.<br />To select a feature you have to click on the grey square icon (which turns yellow), after doing that, you can delete it.</p>
</blockquote>
<p>Nope, no misunderstanding, although a feature is selected (the square turned yellow), you cannot unlink or delete that feature while viewing the children as forms (not as list).</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649432015-10-29T05:56:59ZPedro Venânciopedrongvenancio@gmail.com
<ul></ul><p>Tudor Bărăscu wrote:</p>
<blockquote>
<p>Nope, no misunderstanding, although a feature is selected (the square turned yellow), you cannot unlink or delete that feature while viewing the children as forms (not as list).</p>
</blockquote>
<p>Same here.</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649492015-10-29T10:01:54ZAlessandro Pasotti
<ul><li><strong>File</strong> <a href="/attachments/download/9243/qgis_bug_1.png">qgis_bug_1.png</a> added</li><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>I tested the bug_relations project on 2.8 an 2.12 and I've successfully deleted "Johh" (and all other records if that matters) while in form mode.</p>
<p>I'm on Linux but I don't think that it can be the reason for not being able to reproduce this issue. <br />Can you please add a step-by-step descriptin about how to reproduce it?</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=649502015-10-29T10:08:22ZAlessandro Pasotti
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Ok, got it. I was opening the attribute table instead of using the identify tool.</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=650042015-11-03T00:41:55ZAlessandro Pasotti
<ul><li><strong>Resolution</strong> deleted (<del><i>not reproducable</i></del>)</li><li><strong>Target version</strong> changed from <i>Future Release - High Priority</i> to <i>Version 2.14</i></li></ul><p>The bug is worse than described, because when you activate editing<br />from within the form (clicking the pencil icon) and click on a list<br />item it gets deleted even without selecting the "delete" tool.</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=650112015-11-03T06:30:58ZAlessandro Pasotti
<ul><li><strong>Pull Request or Patch supplied</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>50</i></li></ul><p>Fixed the disappearing item issue, see: <a class="external" href="https://github.com/elpaso/QGIS/commit/812113f66a1292e7004875a4e0a46b9e5bb1f3fd">https://github.com/elpaso/QGIS/commit/812113f66a1292e7004875a4e0a46b9e5bb1f3fd</a><br />Now working on the main issue.</p> QGIS Application - Bug report #11266: Relations "Subforms" - delete records in form viewhttps://issues.qgis.org/issues/11266?journal_id=650262015-11-04T01:22:31ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/524febe070832619661757c34f544f77c16ed0c7" title="Merge pull request #2417 from elpaso/bugfix-11266 Bugfix 11266">524febe070832619661757c34f544f77c16ed0c7</a>.</p>