Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It still shows on the Question page. #27

Open
ukampanart opened this issue Jan 26, 2022 · 8 comments
Open

It still shows on the Question page. #27

ukampanart opened this issue Jan 26, 2022 · 8 comments

Comments

@ukampanart
Copy link

I just found out that there's something strange on the Word Select question as to the photos. Please guide me on how to solve this. Thanks

image

image

@iarenaza
Copy link
Owner

@ukampanart What Moodle version are you using? (if you can past the details you'll find in file version.php that would be best). Also, what version of the Word Select question type plugin are you using?

I highly suspect this is a bug in the Word Select question type plugin, but in order to check that I would need the above version details.

@marcusgreen
Copy link

What is the actual error, can. you paste in the text you are using so I can test and see if I can reproduce.

@izendegi
Copy link
Collaborator

Hi,

We've been able to reproduce the error on Moodle 3.11.5 with the latest versions of both filter_multilang2 and qtype_wordselect.

The qtype_wordselect plugin seems to apply well some other filters on the question text field (at least multilang, activitynames and syntaxhighlighter), but it doesn't with filter_multilang2 (that is what @ukampanart 's image shows), so it seems like a collision between those two plugins, but still haven't been able to conclude on which side the issue is.

@ukampanart
Copy link
Author

Here is what's in the exercise. Only in Word Select activity. Moodle 3.8

=====

{mlang en}

Instructions: Choose the right answer for each sentence.

{mlang} {mlang th}

คำสั่ง : เลือกคำตอบในแต่ละประโยคให้ถูกต้อง

{mlang}

What do you know about the city of Istanbul?

a. Istanbul is a city in (Bulgaria / Germany / [Turkey] / China).

b. Part of Istanbul is in (Africa / [Europe]) and the other part is in ([Asia] / North America).

c. Istanbul is about ([1,600] / 160 / 600 / 6000) years old.

d. The (Pacific Ocean / Mediterranean Sea / [Black Sea]) is north of Istanbul.

=====

@ukampanart
Copy link
Author

image

@ukampanart
Copy link
Author

Here are the info.

image

image

image

https://moodle.org/plugins/qtype_wordselect/versions

image

@ukampanart
Copy link
Author

My problem is ... No matter I put in the below code, when preview or save it, I can still see all the below info:


{mlang en}
Instructions: Choose the right answer for each sentence.

{mlang} {mlang th}
คำสั่ง : เลือกคำตอบในแต่ละประโยคให้ถูกต้อง

{mlang}

@marcusgreen
Copy link

At the moment I consider the problem to be a bug in the wordselect question type code. I have started work to investigate it and I will post here
marcusgreen/moodle-qtype_wordselect#42
And probably here when i have progress. Because it is a widely used question type any solution will require significant testing. I don't have any timescales for the fix. My apologies that you have experienced this, I shall put in place processes to test against all filters in future releases as this question type is very useful for language teaching and so multi language support is very important to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants