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

SelectTool on Oracle layer selects always ALL features #24768

Closed
qgib opened this issue Jul 14, 2017 · 7 comments
Closed

SelectTool on Oracle layer selects always ALL features #24768

qgib opened this issue Jul 14, 2017 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers High Priority Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Jul 14, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)
Original Redmine Issue: 16869
Affected QGIS version: master
Redmine category:data_provider/oracle


In latest master, loading an Oracle layer and trying to select a couple of features with the selectTool, ALL features are selected (or at least turn yellow).

Same machine, same layer/db, but with 2.18.10 this is ok.

Selecttool is also working OK if I select a postgis layer on that same machine/QGIS. So to me it seems Oracle provider related.


@qgib
Copy link
Contributor Author

qgib commented Jul 14, 2017

Author Name: Jürgen Fischer (@jef-n)


Which primary key does the table have?

@qgib
Copy link
Contributor Author

qgib commented Jul 14, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)


Well, apparently none when I look into the 'open layer' dialog (see screendump).

And looking into the DDL of the table, there is NOT a primary key on one of the columns...

And trying to create a primary key, I fail because some rows have null values for fields...

Is a primary key always needed? 2.18.10 seems to work without it?


  • 11177 was configured as nokey.png

@qgib
Copy link
Contributor Author

qgib commented Jul 14, 2017

Author Name: Richard Duivenvoorde (@rduivenvoorde)


Additional observation (but probably same reason): no rows are shown in attribute table.

In case of such a table, QGIS can apparently load and show the features. Should/Could we maybe generate an internal id for these?

@qgib
Copy link
Contributor Author

qgib commented Sep 8, 2017

Author Name: Jürgen Fischer (@jef-n)


  • assigned_to_id removed Jürgen Fischer

@qgib
Copy link
Contributor Author

qgib commented Feb 22, 2018

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2018

Author Name: Nyall Dawson (@nyalldawson)


Applied in changeset 7ffc148.


  • status_id was changed from Open to Closed
  • done_ratio was changed from 0 to 100

@qgib qgib closed this as completed Mar 5, 2018
@qgib
Copy link
Contributor Author

qgib commented Mar 6, 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! High Priority Data Provider Related to specific vector, raster or mesh data providers Regression Something which used to work, but doesn't anymore 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! Data Provider Related to specific vector, raster or mesh data providers High Priority Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant