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

Make item key creation in Samigo calculated questions more efficient

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • 19 status:
      Verified
    • 12 status:
      Verified
    • Test Plan:
      Hide

      Add Samigo to a site.

      Add a new test with one calculated question type. Just use the suggestions in the question editor.

      Publish the quiz.

      Take the quiz as a student. The quiz should work as expected.

      Show
      Add Samigo to a site. Add a new test with one calculated question type. Just use the suggestions in the question editor. Publish the quiz. Take the quiz as a student. The quiz should work as expected.

      Description

      Make item key creation in Samigo calculated questions more efficient. Currently the key is calculated in an inner loop, getting the same result each time. 1 question generates 32 fairly heavy method calls. I'll be submitting a fix provided by Mark Triggs from NYU. The fix has been in production on their 11 and 12 instances.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                mclare Matt Clare
                Reporter:
                a.fish@lancaster.ac.uk Adrian Fish
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration