Problem in persistence of variables when using 'include project'

Hello
I see a problem in FB 8 regarding the persistence of the variables.
I have project A with a variable that autoincrements and persists. Each time I run A, the variable is OK.
But I also have project B, which invokes A with “Include Project” and it happens that the variable of A is never recorded, it always has the same value. Viewing the output, the variable autoincrement but the persistence is not done, then in the following execution always has the same value.

I saw reports of this problem in very old versions, like 4.

I am using FinalBuilder 8.0.0.2268 on Windows 10.

Regards,
Angel

Hi Angel,

We have located the issue and are addressing it. The error was different to the one in previous version of FinalBuilder. The issue here seems to be the project information file was not being correctly re-read on run of the projects. It was only being read once on load. We will have a build for you very soon.

Posted By Jason Smith on 05 Sep 2017 08:48 PM
Hi Angel,

We have located the issue and are addressing it. The error was different to the one in previous version of FinalBuilder. The issue here seems to be the project information file was not being correctly re-read on run of the projects. It was only being read once on load. We will have a build for you very soon.


Great Jason!
 
Thank you very much,
Angel

Hi Angel,

As promised, the installer below has the persistent variable functionality for included projects corrected.

http://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_2283.exe

Please note that if your sharing variable namespaces, and the parent project has a variable of the same name as the persisted variable in the included project the persisted value will not be loaded. This is so that variable overloading will still work as intended.

- Parent Project
- var persistantVar = 20
---- Child Project
---- var persistantVar <= this variable will be given 20 when namespaces are shared. It will load its persisted value when they are not shared.

http://downloads.finalbuilder.com/d…0_2283.exe