a.a. b.b. c.c. ... answers in MC

a.a. b.b. c.c. ... answers in MC

deur Stefan Eberhard -
Getal antwoorde: 10
Answers in MC-Questions show a.a. b.b. instead of a. and b.


Example

Finden Sie die Wörter mit der gleichen Bedeutung (Synonyme) zu folgendem Begriff:

Vorschlag
Antwort(en) wählen:
a. a. Beratung
b. b. Anregung
c. c. Idee
d. d. Empfehlung

Gemiddeld van beoordelings: -
In antwoord op Stefan Eberhard

Re: a.a. b.b. c.c. ... answers in MC

deur Joseph Rézeau -
Prentjie van Core developers Prentjie van Particularly helpful Moodlers Prentjie van Plugin developers Prentjie van Testers Prentjie van Translators
I can confirm this bug in Moodle 1.8.2+ most recent version. Would it be related to Tim's recent changes as per this discussion and MDL-10515?
Joseph
Aanhangsel image00.jpg
Gemiddeld van beoordelings: -
In antwoord op Joseph Rézeau

Re: a.a. b.b. c.c. ... answers in MC

deur Tim Hunt -
Prentjie van Core developers Prentjie van Documentation writers Prentjie van Particularly helpful Moodlers Prentjie van Peer reviewers Prentjie van Plugin developers
Doh! sorry, that was stupid of me. Fixed now.
Gemiddeld van beoordelings: -
In antwoord op Tim Hunt

Re: a.a. b.b. c.c. ... answers in MC

deur Ian Ralph -
I know this is a dumb question; where do I get the fix and how do I apply it?

Thanks

Ian
Gemiddeld van beoordelings: -
In antwoord op Ian Ralph

Re: a.a. b.b. c.c. ... answers in MC

deur Anthony Borrow -
Prentjie van Core developers Prentjie van Plugin developers Prentjie van Testers
Ian - It sort of depends on how you installed and upgrade Moodle. If you use CVS then you update the code and the fix is applied. If you prefer to download the files, wait for 24 hours and get the latest nightly build and then copy those files. Consider it an upgrade and start by reading: http://docs.moodle.org/en/Upgrading
Gemiddeld van beoordelings: -
In antwoord op Anthony Borrow

Re: a.a. b.b. c.c. ... answers in MC

deur Geof Duncan -
So, if I REALLY don't want to upgrade my moodle site... which part of:
$a->text = '<span class="anun">' . $qnumchar .
 '<span class="anumsep">.</span></span> ' .
 format_text("$qnumchar. $answer->answer", FORMAT_MOODLE, $formatoptions, $cmoptions->course);
do I change?

I've upgraded to 1.8.2 (obviously), but, it seems a little silly to do a complete upgrade for a 1 line code change....
Gemiddeld van beoordelings: -
In antwoord op Geof Duncan

Re: a.a. b.b. c.c. ... answers in MC

deur Tim Hunt -
Prentjie van Core developers Prentjie van Documentation writers Prentjie van Particularly helpful Moodlers Prentjie van Peer reviewers Prentjie van Plugin developers
Delete the crossed out bit.

 
$a->text = '<span class="anun">' . $qnumchar .
'<span class="anumsep">.</span></span> ' .
format_text("$qnumchar. $answer->answer", FORMAT_MOODLE, $formatoptions, $cmoptions->course);
do I change?



But acutally, updating form 1.8.2 to 1.8.2+ should be a very minor upgrade, with very low risk, and will get you a whole bunch of minor bug fixes. But it is not absolutely zero risk either.
Gemiddeld van beoordelings: -
In antwoord op Tim Hunt

Re: a.a. b.b. c.c. ... answers in MC

deur Geof Duncan -
Thanks Tim,

I agree that I probably SHOULD do an upgrade, but, that means copying themes, custom hacks, etc. My web host won't give me shell access so, it's a bit of a pain to do an upgrade.

Maybe I'll attempt it after all... glimlag
Gemiddeld van beoordelings: -