https://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-05-20T12:14:22ZQGIS Issue TrackingQGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1046992019-05-20T12:14:22ZAlessandro Pasotti
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>I searched the whole code base but I cannot find any button labeled with "identify on map", let alone that I don't get how you can identify on map a table layer feature which has no geometry.</p>
<p>Can you please clarify?</p> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047002019-05-20T12:16:57Zmatteo ghettamatteo.ghetta@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/14960/ksnip_20190520-135720.png">ksnip_20190520-135720.png</a> added</li></ul><p>Yep, see attached image.</p> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047022019-05-20T12:21:34ZAlessandro Pasotti
<ul></ul><p>I said: "I cannot find any button labeled with "identify on map"" </p>
<pre><code>not that I cannot find the options to set "On map identification"</code></pre> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047032019-05-20T12:24:10Zmatteo ghettamatteo.ghetta@gmail.com
<ul></ul><p>I'm trying to identify geometric object FROM a geometryless table. I thought it make sense: if I want to identify a geometric pipe that belongs to a not spatial worker.</p> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047292019-05-21T08:45:39ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>I'm also struggling to understand what is the issue and how replicate it.</p> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047342019-05-21T08:59:55Zmatteo ghettamatteo.ghetta@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/14965/ezgif.com-video-to-gif.gif">ezgif.com-video-to-gif.gif</a> added</li></ul><p>OK I try to be more clear:</p>
<ul>
<li>open the attached project</li>
<li>a 1:N relation is already set up: Parent = `Condotte` Field = `ID`, Child = `operai` Field = `FK`</li>
<li>the labels on the condotte layers are taken from ID field</li>
<li>select `operai` and enter in the editing mode</li>
<li>add another row in the table and, instead of entering manually in the FK field the ID of the condotte layer, click on the `On map identification` button</li>
<li>when clicking on, for example, condotte with label (and ID) = 2, the FK field is filled with 1 (ID - 1). Therefore the relation is wrong</li>
</ul>
<p>A gif in attach</p> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047352019-05-21T09:02:42ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>matteo ghetta wrote:</p>
<blockquote>
<p>OK I try to be more clear:</p>
<ul>
<li>open the attached project</li>
<li>a 1:N relation is already set up: Parent = `Condotte` Field = `ID`, Child = `operai` Field = `FK`</li>
<li>the labels on the condotte layers are taken from ID field</li>
<li>select `operai` and enter in the editing mode</li>
<li>add another row in the table and, instead of entering manually in the FK field the ID of the condotte layer, click on the `On map identification` button</li>
<li>when clicking on, for example, condotte with label (and ID) = 2, the FK field is filled with 1 (ID - 1). Therefore the relation is wrong</li>
</ul>
<p>A gif in attach</p>
</blockquote>
<p>Hi Matteo the gif is tiny, is not possible to read/see anything in it.</p> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047372019-05-21T09:09:06Zmatteo ghettamatteo.ghetta@gmail.com
<ul></ul><p>OK here the link to the vieo that can be downloaded:</p>
<p><a class="external" href="https://www.faunalia.eu/~matteo/qgis_bug/">https://www.faunalia.eu/~matteo/qgis_bug/</a></p> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047412019-05-21T11:35:37ZAlessandro Pasotti
<ul><li><strong>Assignee</strong> set to <i>Alessandro Pasotti</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047472019-05-21T17:13:48ZAlessandro Pasotti
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li><li><strong>Pull Request or Patch supplied</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li></ul><p>PR <a class="external" href="https://github.com/qgis/QGIS/pull/10047">https://github.com/qgis/QGIS/pull/10047</a></p> QGIS Application - Bug report #22071: Relation reference widget wrong feature when "on map identification"https://issues.qgis.org/issues/22071?journal_id=1047572019-05-22T09:01:50ZAlessandro Pasotti
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Applied in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/2b14dacd51ca98061d7f14877df74006fd52e5c4" title="Fix identify on map in relation reference widget Fixes #22071 - Relation reference widget wrong ...">qgis|2b14dacd51ca98061d7f14877df74006fd52e5c4</a>.</p>