Upgrade of Calculated question
Hi, in our Chamilo, we did redo the Calculated question feature. see https://chamilosimsu.wordpress.com/2025/02/11/questions-calculees-tirage-des-variables-ameliore/ (french)
We want to upgrade current Chamilo v2 Calculated question with our we've been using for many years in Chamilo v1. We've working on the Chamilo v2 version.
To do : -> upgrade code from v1 to v2 -> create a tool that migrate every Calculated question to new Calculated question
Difficilty of migration : in v1, random interval is not saved in DB As a result, I cannot get random interval to put it in the new DB data. I'll put, for example an interval 0-1 for all, and users will have to check there Calculated answers question ?
If you upgrade the code to tge new calculated answer question, here is the result :