[QGIS-trac] Re: [Quantum GIS] #953: Actions fail getting columns with digits in their name

Quantum GIS qgis at qgis.org
Thu Aug 7 02:58:26 EDT 2008


#953: Actions fail getting columns with digits in their name
-----------------------------------------------------+----------------------
        Reporter:  goyodiaz                          |         Owner:  nobody       
            Type:  bug                               |        Status:  closed       
        Priority:  major: does not work as expected  |     Milestone:  Version 1.0.0
       Component:  Vectors                           |       Version:  0.9.1        
      Resolution:  fixed                             |      Keywords:  actions      
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Changes (by gjm):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed in r9014. Use square brackets around the field name to delimit it if
 necessary. For example, using [%col10] will prevent the %col10 field being
 treated as the %col1 field with a trailing 0. The user documentation has
 been updated (in r9015) to reflect this change. Use a second set of square
 brackets if you actually want square brackets around the substituted field
 (e.g., [[%col10]] will yield [abcd] if %col10='abcd').

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/953#comment:4>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list