SAMIGO - Calculated Questions: Some functions don't work (mXparser)

XMLWordPrintable

Details

• Type: Bug
• Status: Verified
• Priority: Critical
• Resolution: Fixed
• Affects Version/s: 19.5, 20.1, 21.0 [Tentative]
• Fix Version/s:
• Component/s:
• Labels:
• 21 Status:
Verified
• 20 status:
Verified
• Test Plan:
Hide
1. Go to Test & Quizzes
```{{sol}}

C({x},5)      [[C({x},5)]]
```
1. Extract the variables.
2. Add to Formula textfield: {x} + 1
3. Save
4. No error should appear
Show
Go to Test & Quizzes Add Calculated Question Add the instructions {{sol}} C({x},5) [[C({x},5)]] Extract the variables. Add to Formula textfield: {x} + 1 Save No error should appear

Description

These functions doesn't work on calculated questions

Try adding [[  ]] on each one:
Dont' work: C(8,3) mXparser - built-in Binary Functions

Dont' work: qNor(0.5, 2, 1) mXparser - built-in 3-args Functions

Dont' work: cNor(0.7, 3, 1) mXparser - built-in 3-args Functions

Dont' work: if({alea}>==3, 5, 2)

Dont' work: if({alea}>3, 5, 2)

Dont' work: if({alea}<=3, 5, 2)

Dont' work: if({alea}<3, 5, 2)

Dont' work: if({alea}=3 && {alea2}=1, 5, 2)

People

Assignee:
Jesus Maria Mendez
Reporter:
Jesus Maria Mendez