#3528 closed bug (fixed)
uniqueValue() function is needed on vector layer level
Reported by: | jrm | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Vectors | Version: | |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Windows |
Platform Version: | Awaiting user input: | no |
Description
When you classify a spatialite layer which has joined attributes (with the new table join), the rv15265 makes a full crash on WinXP (I didn't try under another OS).
Here is the DebugView's log related to this event:
[1352] Object::connect: (sender [1352] Object::connect: (receiver name: 'QgsSymbolV2SelectorDialogBase') [1352] d:\progs\c\qgis_unstable\src\app\qgslabeldialog.cpp(60) : (QgsLabelDialog::init) entering. [1352] d:\progs\c\qgis_unstable\src\providers\spatialite\qgsspatialiteprovider.cpp(2195) : (QgsSpatiaLiteProvider::field) Field 12 not found.
The same layer converted to shp and joined with the same dbf table doesn't crash but the classification is empty.
Change History (4)
comment:1 by , 13 years ago
Owner: | set to |
---|
comment:2 by , 13 years ago
Priority: | critical: causes crash or data corruption → major: does not work as expected |
---|---|
Summary: | classify a joind sqlite crash qgis → uniqueValue() function is needed on vector layer level |
The crash itself is fixed in r15305. The main problem however is that the function uniqueValues() only exist on datasource level, not on vector layer level (thus ignoring the joined fields for classification). Therefore, I'm changing the title of the ticket.
Could you attach the data to the ticket or mail it to me privately (marco@…)?