Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44324

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

    XMLWordPrintable

    Details

    • 21 Status:
      Resolved
    • 20 status:
      Please Merge
    • Test Plan:
      Hide
      1. Go to Test & Quizzes
      2. Add Calculated Question
      3. Add the instructions
      {{sol}} 
      
      C({x},5)      [[C({x},5)]] 
      
      1. Save
      2. An error appears
      Show
      Go to Test & Quizzes Add Calculated Question Add the instructions {{sol}} C({x},5) [[C({x},5)]] Save An error appears

      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)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jesusmmp Jesus Maria Mendez
                  Reporter:
                  jesusmmp Jesus Maria Mendez
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration