Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB Manager does not load layer after a query #27666

Closed
qgib opened this issue Sep 13, 2018 · 3 comments
Closed

DB Manager does not load layer after a query #27666

qgib opened this issue Sep 13, 2018 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin

Comments

@qgib
Copy link
Contributor

qgib commented Sep 13, 2018

Author Name: matteo ghetta (@ghtmtt)
Original Redmine Issue: 19842
Affected QGIS version: 3.3(master)
Redmine category:db_manager


Loading a layer as result of a query, like:

SELECT a.id AS id_punto, b.provincia AS provincia, a.geom
 FROM punti a, province b
 WHERE ST_Within(a.geom, b.geom) IS TRUE;

and clicking on "Load as new layer", if the user choose an id column, the layer is not loaded. The only way is to close DB Manager, run the query again and don't touch anything in the "Load as new layer" tab. Then the resulting layer is loaded.

Happens with 2.18, 3.0, 3.2, 3.3

@qgib
Copy link
Contributor Author

qgib commented Sep 15, 2018

Author Name: Giovanni Manghi (@gioman)


I just tested on 3.2 and seems working fine here.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Sep 20, 2018

Author Name: matteo ghetta (@ghtmtt)


Fresh compiled and seems working now. Thanks for checking


  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Sep 20, 2018
@qgib
Copy link
Contributor Author

qgib commented Sep 20, 2018

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin
Projects
None yet
Development

No branches or pull requests

1 participant