Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41755

consider making code that makes a flexible table from the data from tables like question_statistics generic

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      See quiz backup in MDL-41757 "backup-moodle2-activity-424-quiz424-20140206-0844.mbz". Restore it in a course and check that the table of stats for questions in the quiz displays as it did before (see screenshots in other issue or compare table pre and post patch).

      There are no unit tests that cover this area unfortunately. It is a pretty straight forward addition though.

      Show
      See quiz backup in MDL-41757 "backup-moodle2-activity-424-quiz424-20140206-0844.mbz". Restore it in a course and check that the table of stats for questions in the quiz displays as it did before (see screenshots in other issue or compare table pre and post patch). There are no unit tests that cover this area unfortunately. It is a pretty straight forward addition though.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-41755-master-v2

      Description

      "There is a question whether the code that takes the data from tables like question_statistics, and returns a flexible_table (or even a more specific class like quiz_statistics_question_table) can usefully be made generic and shared. Potentially it could be, but I cannot tell off the top of my head. When thinking it through, we should be aware of this possibility."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jamiesensei Jamie Pratt
              Reporter:
              jamiesensei Jamie Pratt
              Peer reviewer:
              Tim Hunt
              Integrator:
              Damyon Wiese
              Tester:
              Petr Skoda
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14