Bug report #2524

actions: problem when a column is named as the first part of another column name

Added by Giovanni Manghi over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Low
Assignee:Tim Sutton
Category:C++ Plugins
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:worksforme
Crashes QGIS or corrupts data: Copied to github as #:12584

Description

Imagine to have a vector and in its table of attributes you have a column called "*colu*" and another called "*coluna*".

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

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

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

I can't find any workaround to this.

History

#1 Updated by Jürgen Fischer over 10 years ago

  • Resolution set to worksforme
  • Status changed from Open to Closed

#2 Updated by Jürgen Fischer over 10 years ago

Replying to [comment:1 jef]:

<pre>

#3 Updated by Giovanni Manghi over 10 years ago

Replying to [comment:1 jef]:

ok thanks. Is this documented?

#4 Updated by Otto Dassau over 10 years ago

yes, it is documented in the user manual.

#5 Updated by Giovanni Manghi over 10 years ago

Replying to [comment:4 dassau]:

yes, it is documented in the user manual.

ok sorry, I missed it

Also available in: Atom PDF