chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

Upgrade of Calculated question

Open chamilo-uga opened this issue 7 months ago • 2 comments

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

Image

chamilo-uga avatar Apr 15 '26 14:04 chamilo-uga

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 ?

chamilo-uga avatar May 13 '26 12:05 chamilo-uga

If you upgrade the code to tge new calculated answer question, here is the result :

Image

chamilo-uga avatar May 19 '26 12:05 chamilo-uga