Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3636

Division by zero when all reports have a "not counted" status

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: Package: ILP
    • Labels:
      None
    • Affected Branches:
      MOODLE_22_STABLE

      Description

      Steps to reproduce:
      Create a report type with a State field
      Define one of the options as "not counted"
      Go to a student's PLP, and create some entries, all with the "not counted" state selected
      View the student's dashboard, with error messages displayed, you will see a "division by zero" error.

        Attachments

          Activity

            People

            Assignee:
            richard.havinga Richard Havinga
            Reporter:
            marxjohnson Mark Johnson
            Participants:
            Component watchers:
            James Ballard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: