https://issues.qgis.org/https://issues.qgis.org/favicon.ico2009-09-23T05:16:11ZQGIS Issue TrackingQGIS Application - Bug report #1935: Crash when setting edit widget in layer properties dialogue/attribute tab to immutablehttps://issues.qgis.org/issues/1935?journal_id=199872009-09-23T05:16:11ZAndreas Neumann
<ul></ul><p>Further investigation shows that it has to do with the Postgis provider and the_geom column. Attributes/columns before the_geom work fine, but attributes that come after the geometry column in the table definition are offset by one. This results in an invalid index at the end of the attributes list and thus in the crash.</p> QGIS Application - Bug report #1935: Crash when setting edit widget in layer properties dialogue/attribute tab to immutablehttps://issues.qgis.org/issues/1935?journal_id=199882009-09-23T05:51:27ZJürgen Fischerjef@norbit.de
<ul><li><strong>Resolution</strong> set to <i>fixed</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Replying to [comment:2 neumann]:</p>
<blockquote>
<p>Further investigation shows that it has to do with the Postgis provider and the_geom column.</p>
</blockquote>
<p>Attributes/columns before the_geom work fine, but attributes that come after the geometry column in the table definition are offset by one. This results in an invalid index at the end of the attributes list and thus in the crash.</p>
<p>right, fixed in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/7ecdb1dbf984a8a5ff8e509a961be00dda9fe34c" title="fix #1935 git-svn-id: http://svn.osgeo.org/qgis/trunk@11704 c8812cc2-4d05-0410-92ff-de0c093fc19c">7ecdb1db</a> (SVN r11705).</p>