Bug report #7630

The qgis categorized use a different mean for the NULL values of the unique values of qgis 1.8.0

Added by aperi2007 - over 11 years ago. Updated over 11 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Map Legend
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16553

Description

Hi,

This is a sample of a qgis 1.8.0 project using a sample shapefile with 4 values:
0101
0102
0103
0104

I have rendered it using old symbology and
a rendering of
0101 => red
null => green

The result of this rendering is a map with a red polygon and three green polygon: qis 1.8.0 map

When I import this project on a qgis-dev last version it transforms the old symbology (unique value) rendering to a new symbology with a categorized where it applies:
0101 => red
null => green

But when I show the map result it shows ONLY ONE (the RED) polygon: qgis 1.9.0 result

:(

It guess this is a real problem when qgis 2.0 will be released and many qgis 1.8.0 projects will be imported.

sample.zip - sample project showing this issue (6.1 KB) aperi2007 -, 2013-04-17 12:59 AM

qgis180.gif - qis 1.8.0 map (7.75 KB) aperi2007 -, 2013-04-17 03:09 AM

qgis190.gif - qgis 1.9.0 result (2.47 KB) aperi2007 -, 2013-04-17 03:09 AM

Associated revisions

Revision e0732a06
Added by Jürgen Fischer over 11 years ago

fix #7630 - categorized renderer gui produces an empty string category as catch all case, so use it

History

#1 Updated by aperi2007 - over 11 years ago

Add two images showing how the reslt in qgis 1.8.0 and how the result in qgis 1.9.0

#2 Updated by aperi2007 - over 11 years ago

#3 Updated by Jürgen Fischer over 11 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF