Bug report #14237

DB Manager: python error adding a SL view using d&d

Added by Giovanni Manghi about 1 year ago. Updated about 1 year ago.

Status:Closed Start Date:02/05/2016
Priority:Severe/Regression Due date:
Assigned to:- % Done:

0%

Category:DBManager
Target version:Version 2.14
Platform: Pull Request or Patch supplied:No
Platform version: Affected version:master
Status info: Causes crash or corruption:No
Resolution: Tag:

Description

no error on 2.8.6

An error has occurred while executing Python code:

TypeError: unbound method mimeUri() must be called with VectorTable instance as first argument (got SLTable instance instead) 
Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/db_manager/db_model.py", line 513, in mimeData
    stream.writeQString(table.mimeUri())
  File "/usr/share/qgis/python/plugins/db_manager/db_plugins/spatialite/plugin.py", line 191, in mimeUri
    return VectorTable.mimeUri(self)
TypeError: unbound method mimeUri() must be called with VectorTable instance as first argument (got SLTable instance instead)

Associated revisions

Revision c7cde461b2c7218bf1364e297364b57de987847d
Added by Martin Dobias about 1 year ago

Fix drag&drop of spatialite tables (fixes #14237)

History

Updated by Martin Dobias about 1 year ago

  • Status changed from Open to Closed

Also available in: Atom