Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
In developing mode I sometimes use partial reload for my end user applications.
So instead of full datamodel reload, I reload only variables and some configuration files.
That used to work with binary load too - binary load command skipped in partial reload mode.
Now QVF bootstrap code breaks on partial reload.
Currently I wrapped QVF initilization fragment by IF statement
IF NOT IsPartialReload() THEN let vG.BasePath=; // Basic search for 1.Init.qvs $(Include=..\..\..\..\3.include\1.basevariable\1.init.qvs); $(Include=..\..\..\3.include\1.basevariable\1.init.qvs); $(Include=..\..\3.include\1.basevariable\1.init.qvs); $(Include=..\3.include\1.basevariable\1.init.qvs); Exit script when '$(vG.BasePath)'= ''; ENDIF
Also I updated LoadVariableCSV - changed LOAD statement to REPLACE LOAD
It works for me now.
Would it be worthwhile if all QDF bootstrap code can work in partial reload mode?
Thanks for the input Vadim, agree the best will be to implement the enhancements into the initiation script.
Will check how to do this in the best way and get back to you.
thanks again for this great feedback
Magnus
Thank you for great project.
We've switched to QDF in new project so I'm adapting our toolset to it.
I'll share experience in that group when and if some bits of it will be relevant to QDF
Hi Vadim,
We have now released QDF v 1.3.2 where REPLACE LOAD have been integrated into the initiation scripts.
It would be nice to see of this solves your issues.
Best regards
Magnus
Thank you, Magnus.
It works for me now.
Best regards, Vadim