Open FullGas1 opened 4 months ago
I'm not having any luck getting this to run. It throws an error at line 2162: '
Hello, sorry I'm not used to collaborating on GitHub, and I think I worked a little too quickly.
As a result, I hadn't seen that in your version 4_5_127 you had already dealt with dynamic spwans. For my proposal for managing dynamic spwans to be more readable and not mixed up with your version, I should have started from stable 4_5_126.
The easiest way to not complicate everything is to only keep the 2 small corrections that I propose in commit n° fad41b68e9335928c4f65d96f5624522cde66a75, and which seem useful to me.
If you are interested in my version of managing dynamic spwans, I can provide it to you on request. It consists of only 1 main function:
mist.updateMISTDBsDynSpwans(params, t) and 4 utility functions: function mist.utils.mergeTables() function mist.utils.isEmptyTable(myTable) function mist.utils.isPairsTable(t) function mist.utils.isIpairsTable(t)
In any case, thank you for what you offer us via MIST.
Kind regards
1 - when param oType is not sended to dbUpdate(event, oType, origGroupName), oType need to be defined in dbUpdate fct 2- function writeDBTables(newEntry) need newEntry.data but mist.forceAddToDB(object) send datas directly in newEntry