Bug report #12616
API: QgsVectorLayer::selectedFeatures() - do not work for more than 8 features in a Oracle Vectorlayer
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Jürgen Fischer | ||
Category: | Data Provider | ||
Affected QGIS version: | 2.8.1 | Regression?: | No |
Operating System: | Win | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20734 |
Description
hello jürgen,
i think there is a bug in the API Public Member Function QgsVectorLayer::selectedFeatures()
if i have more than 8 features in a oracle vectorlayer selected and i get the QgsFeatureList with pyQGIS "layer.selectedFeatures()"
the length of the list is 0 "len(layer.selectedFeatures())"
if i have 8 or less features selected everthing is ok. the attached file showing the debugview of these two cases.
can you please have a look the problem? or someone else...:-)
thanks
jan
Related issues
Associated revisions
fix where clause when multiple features are filtered by ids (fixes #12616, followup d1e23a6)
fix where clause when multiple features are filtered by ids (fixes #12616, followup d1e23a6)
(cherry picked from commit 02f5c73ae2067c3a92a2254761a8e2db0a565eae)
History
#1 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset 02f5c73ae2067c3a92a2254761a8e2db0a565eae.
#2 Updated by Jan Lippmann over 9 years ago
the fix works!
thanks jürgen