Bug report #9659

ftool's random point doesn't recognize memory layer's integer column

Added by Mathieu Pellerin - nIRV about 10 years ago. Updated almost 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/QGIS
Affected QGIS version:2.2.0 Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:18227

Description

ftool's random point does not recognize memory layer's integer column as it's looking for column type "Integer", and the memory layer's integer column is registered as "integer".

Steps to reproduce:
1. create a memory layer
2. activate the edit mode and add an (integer) column
3. add a random polygon
4. save the changes and leave edit mode
5. Open ftool's random points window, select the memory layer you just created, and notice how the integer column is missing from the dropdown list

Trivial patch coming in a bit.

History

#2 Updated by Giovanni Manghi about 10 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Jürgen Fischer about 10 years ago

  • Target version changed from Version 2.4 to Future Release - High Priority

#4 Updated by Alexander Bruy about 10 years ago

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

Applied in master as a089cff5f7

#5 Updated by Giovanni Manghi almost 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF