https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-10-20T19:57:53ZQGIS Issue TrackingQGIS Application - Bug report #8920: DB Manager Fails to Load Raster | QGIS 2.0.1https://issues.qgis.org/issues/8920?journal_id=458352013-10-20T19:57:53ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> set to <i>DB Manager</i></li></ul> QGIS Application - Bug report #8920: DB Manager Fails to Load Raster | QGIS 2.0.1https://issues.qgis.org/issues/8920?journal_id=462692013-11-11T09:52:37ZMax Bohnet
<ul></ul><p>The error occures not only with raster tables but with all tables, that have a foreign key constraint with a "MATCH SIMPLE" match type.<br />I added 's': 'SIMPLE' to the matchTypes-Dictionary of the TableConstraint class in line 988 in db_plugins\\plugins.py. So it works fine for me:<br /> matchTypes = { "u" : "UNSPECIFIED", "f" : "FULL", "p" : "PARTIAL" , "s": 'SIMPLE',}</p>
<p>How can i submit that patch?</p> QGIS Application - Bug report #8920: DB Manager Fails to Load Raster | QGIS 2.0.1https://issues.qgis.org/issues/8920?journal_id=466312013-11-25T12:36:06ZC Daniel Sanchez R.cdsanchezr@unal.edu.co
<ul></ul><p>This bug is present in 2.1.0-Master (Debian Jessie amd64, Nightly build), and postgreSQL 9.3<br />Patch suggested by Max corrects this error. Please apply it as soon as possible.</p>
<p>Thanks.</p> QGIS Application - Bug report #8920: DB Manager Fails to Load Raster | QGIS 2.0.1https://issues.qgis.org/issues/8920?journal_id=466382013-11-26T01:25:50ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Target version</strong> set to <i>Future Release - High Priority</i></li><li><strong>Pull Request or Patch supplied</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Max Bohnet wrote:</p>
<blockquote>
<p>The error occures not only with raster tables but with all tables, that have a foreign key constraint with a "MATCH SIMPLE" match type.<br />I added 's': 'SIMPLE' to the matchTypes-Dictionary of the TableConstraint class in line 988 in db_plugins\\plugins.py. So it works fine for me:<br />matchTypes = { "u" : "UNSPECIFIED", "f" : "FULL", "p" : "PARTIAL" , "s": 'SIMPLE',}</p>
<p>How can i submit that patch?</p>
</blockquote>
<p>Please submit the patch as pull request in the qgis github repository</p>
<p><a class="external" href="https://github.com/qgis/QGIS/commits/master">https://github.com/qgis/QGIS/commits/master</a></p> QGIS Application - Bug report #8920: DB Manager Fails to Load Raster | QGIS 2.0.1https://issues.qgis.org/issues/8920?journal_id=470912013-12-27T11:32:39ZTim Suttontim@linfiniti.com
<ul></ul><p>I merged your pull request here <a class="external" href="https://github.com/qgis/QGIS/pull/1042">https://github.com/qgis/QGIS/pull/1042</a> - many thanks!</p> QGIS Application - Bug report #8920: DB Manager Fails to Load Raster | QGIS 2.0.1https://issues.qgis.org/issues/8920?journal_id=470922013-12-27T11:32:53ZTim Suttontim@linfiniti.com
<ul><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li></ul> QGIS Application - Bug report #8920: DB Manager Fails to Load Raster | QGIS 2.0.1https://issues.qgis.org/issues/8920?journal_id=471062013-12-28T08:04:33ZMatthias Kuhn
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>