Text of question gets changed automatically

Bug #1233809 reported by Thomas Guettler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenTeacher
Fix Released
Medium
Marten de Vries

Bug Description

I type as question "Am 20. Mai habe ich ..." and as soon as I enter TAB the text gets changed to "1. Am 2. Mai habe ich ..."

The question is in german.

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Ah, you hit a bug in our words string parser algorithm. It's meant normally to specify two answers you obligatory need to answer, e.g.:

eins = 1. one 2. een
zwei = two, twee

When the first is asked, these answers are good:
one, een
1. one 2. een

but this not:
one
een

In the second case are good:
two
twee
two, twee
twee, two

but wrong are:
twwee etc.

I guess the algorithm should only split questions/answers when the <number>.<space> pattern is at the start of the question or answer. -> Triaged.

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Oh, and thanks for reporting as always :)

Changed in openteacher:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 3.2-web
milestone: 3.2-web → 3.3
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

As a workaround, OT supports escaping by the way:

"Am 20\. Mai habe ich ..."

But still word fixing, of course.

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

*worth (a bit late for that, perhaps?)

tags: added: bitesize javascript words
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Unassigning for 3.3. While somewhat unexpected, it's still a rare bug. Getting most of the app working again gets priority.

Changed in openteacher:
milestone: 3.3 → none
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

... except it was kind of simple to fix, so I went ahead and did just that.

Changed in openteacher:
status: Triaged → Fix Committed
assignee: nobody → Marten de Vries (marten-de-vries)
milestone: none → 3.3
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Will be released as part of the currently building 3.3 release.

Changed in openteacher:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.