- FinalBuilder: 7.0.0.2671 on Windows 8.1
Precondition:
* Define at least two variables with similar names, e.g.: "VAR" and "VAR_A"
* Add an action using "VAR_A", e.g. "Log Variable Values" action
Steps to reproduce the problem:
* Rename variable "VAR" (Edit Variable) to e.g. "renamed"
* Click on action list (to trigger a refresh) or select "Project > Clear Status"
Result:
* Name of variable "VAR_A" referenced in actions is renamed to "renamed_A" (the substring is matched and replaced)
Expected Result:
* Only the exact matching variable is renamed.
Note:
This only happens to references to variables in actions - the name of the variable in the project tree is not changed.
Hi Chris,
Thank you for reporting this. I can reproduce the error with renaming of variables. The details you have provided were a great help in finding this quickly. I will look into this today and aim to have a fix for this ASAP.
Hi Chris,
I found that the issue was limited to the Log Variable action, and Extra File Info action. These have been corrected to replace the full variable name instead of only part of the string. The build with this fix is located here:
downloads.finalbuilder.com/download…0_2704.exe
Thank you once again for locating this issue and reporting it in such details. Makes things very simple this end.
Hello Jason!
Thanks for providing a new build so quickly. I’m afraid that the problem is not only limited to the two actions you mentioned. At least it affects the Read Ini File action, too, which is not fixed in this build.
Greetings,
Chris
Hi Chris,
Thanks for catching this. It must be using a different code path to the ones I found. I will post when I have a fix for this.
Hi Jason!
Do you have any update on this?
Regards,
Chris
Hi Chris,
Apologies I thought I had posted the latest update. Thanks for checking back in.
http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700_2725.exe
Hi Jason!
Thanks, this build works now!
Greetings,
Chris