[QGIS Commit] [qgis/QGIS] e6c2ec: Fix #9290 (crashes in symbology on fields with spe...

GitHub noreply at github.com
Mon Feb 10 23:27:27 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/qgis/QGIS
  Commit: e6c2ecd9f36e6b4924b08e185443e7eebbfb2467
      https://github.com/qgis/QGIS/commit/e6c2ecd9f36e6b4924b08e185443e7eebbfb2467
  Author: Martin Dobias <wonder.sk at gmail.com>
  Date:   2014-02-10 (Mon, 10 Feb 2014)

  Changed paths:
    M python/core/symbology-ng/qgscategorizedsymbolrendererv2.sip
    M python/core/symbology-ng/qgsgraduatedsymbolrendererv2.sip
    M python/core/symbology-ng/qgssinglesymbolrendererv2.sip
    M python/core/symbology-ng/qgssymbollayerv2utils.sip
    M src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
    M src/core/symbology-ng/qgscategorizedsymbolrendererv2.h
    M src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
    M src/core/symbology-ng/qgsgraduatedsymbolrendererv2.h
    M src/core/symbology-ng/qgssinglesymbolrendererv2.cpp
    M src/core/symbology-ng/qgssinglesymbolrendererv2.h
    M src/core/symbology-ng/qgssymbollayerv2utils.cpp
    M src/core/symbology-ng/qgssymbollayerv2utils.h

  Log Message:
  -----------
  Fix #9290 (crashes in symbology on fields with special characters)

Fixes several crashes and problems with backwards compatibility.
Before expressions were allowed, field names were loaded and saved
unquoted, e.g. x.y  - with introduction of expressions it was
necessary to use properly quoted "x.y" name so that expression
is correctly parsed. With these changes both options are possible
and when possible, the unquoted field name is used for compatibility




More information about the QGIS-commit mailing list