Bug report #13287

DB Manager d&d broken

Added by Giovanni Manghi about 4 years ago. Updated about 4 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:DB Manager
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:21345

Description

See also https://github.com/qgis/QGIS/pull/2173#issuecomment-136005648

d&d from QGIS browser to DB Manager do not work anymore on QGIS master.

Also d&d is broken when trying to copy (for example) a postgis layer from one connection to another one. In this specific case I have also seen errors like

Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/db_manager/db_model.py", line 500, in mimeData
stream.writeQString(table.mimeUri())
File "/usr/share/qgis/python/plugins/db_manager/db_plugins/plugin.py", line 640, in mimeUri
if self.database().connector.isgpkg():
AttributeError: PostGisDBConnector instance has no attribute 'isgpkg'

History

#1 Updated by Giuseppe Sucameli about 4 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Fixed in 03916d549

Also available in: Atom PDF