Bug report #12616

API: QgsVectorLayer::selectedFeatures() - do not work for more than 8 features in a Oracle Vectorlayer

Added by Jan Lippmann almost 9 years ago. Updated almost 9 years ago.

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

debug_view_selectedFeatures.txt Magnifier (4.07 KB) Jan Lippmann, 2015-04-21 05:05 AM


Related issues

Related to QGIS Application - Bug report #11408: No longer possible to copy-paste attribute table content ... Closed 2014-10-14
Related to QGIS Application - Bug report #11336: Copy / Paste PostGIS features problem Closed 2014-10-06

Associated revisions

Revision 02f5c73a
Added by Jürgen Fischer almost 9 years ago

fix where clause when multiple features are filtered by ids (fixes #12616, followup d1e23a6)

Revision 9e0893f6
Added by Jürgen Fischer almost 9 years ago

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 almost 9 years ago

  • Status changed from Open to Closed

#2 Updated by Jan Lippmann almost 9 years ago

the fix works!
thanks jürgen

Also available in: Atom PDF