exercice_pool.php turns ©_question into @copy_question or %C2%A9_question =>"Re-use a copy inside the current question does not work
While I have not been able to reproduce this behaviour elsewhere, making a copy of a question from one to another course is broken in our installation.
When we try to copy a question from an test in course1 to a test in course2, that is
course2/Tests/course2 test1/Recycle existing questions
the URL on the CD point to
Notice the "%C2%A9" which is some (html'ished?) garbled version of "©" - some browsers see "©" as a copyright symbol!!!
The issue was solved by a simple line of sed working on exercice_pool.php:
$ sed -i 's/copy_question/kopy_question/g' question_pool.php
replacing "copy_question" with "kopy_question" everywhere in question_pool.php
A trivial unified patch is attached for your pleasure (copy_question.patch)
Updated by Yannick Warnier about 5 years ago
- Status changed from Needs testing to New
I understand that, but we're trying to standardize everything to pure English, so going the other way around won't help.
There are stuff like main/exercices that will have to change to main/exercises, and a series of things like that. It's a progressive work, but we don't want to include things that might require to move backwards afterwards, so we'll have to use &question_copy or &qst_copy to &kopy_qst, as legitimate as it might seem to you (no offense meant at all).
Updated by Yannick Warnier almost 5 years ago
- Status changed from New to Bug resolved
- % Done changed from 90 to 100
Changes to &question_copy.
I also searched for any other use of a "©" in Chamilo 1.10.0 and apparently there is none.