[QGIS-trac] [Quantum GIS] #2524: actions: problem when a column is named as the first part of another column name

Quantum GIS qgis at qgis.org
Sun Mar 7 13:52:29 EST 2010


#2524: actions: problem when a column is named as the first part of another column
name
------------------------------------------------+---------------------------
   Reporter:  lutra                             |              Owner:  timlinux     
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  C++ Plugins                       |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Imagine to have a vector and in its table of attributes you have a column
 called "'''colu'''" and another called "'''coluna'''".
 [[BR]]

 Then set an action that will need to use the "coluna" field as variable.
 [[BR]]

 In the action command at some point you will then have "%coluna" as the
 variable part.
 [[BR]]

 But when you will run the action the variable part will be interpreted as
 '''"%colu"''' plus the letters '''"na"'''
 [[BR]]

 I can't find any workaround to this.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2524>
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