Page 2 of 2
Re: Locked variables
Posted: Wed Jun 08, 2022 1:20 pm
by Max Shamanov
Hello,
You need to change all highlighted "True" to "False".
Thank you.
Re: Locked variables
Posted: Fri Nov 18, 2022 6:38 am
by dmasterplan
Hi devs,
Sorry, I misunderstood this. Your instruction was to set the last element to False but I had it set to True and I applied it to all variables.
BUT setting it to False won't solve the locked issue.
I was about to give up as I was doing it again and again for two hours including punching and kicking the bag BUT something whispered in my ear and say (in Michael Jackson's voice) " ♪ you are not alone, I am here with you ♫"
So I experimented and removed one comma after the fourth element, removing the blank element or parameter or whatever you call it (screenshots attached).
And voila, it is not locked anymore!
I hope this would help other devs who has issue like mine.
Regards,
dmasterplan
Re: Locked variables
Posted: Fri Nov 18, 2022 7:13 am
by Lech Kulikowski
Hello,
The issue was in one of builds of 2015.3.x version. Variables created in this build need change. You can manually edit mrt file in notepad or use the tool in the attachment.
Also you can use the following code:
foreach (StiVariable variable in report.Dictionary.Variables)
{
variable.Inherited = false;
}
Thank you.
Re: Locked variables
Posted: Fri Nov 18, 2022 1:17 pm
by dmasterplan
Oh, thank you for that!
We are using
2014.3.0 build
at the moment.
I am happy that it is fixed in the newer version.
Regards

Re: Locked variables
Posted: Fri Nov 18, 2022 1:53 pm
by Lech Kulikowski
Hello,
You are welcome.