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

Default parent for adding new grade category inconsistent

XMLWordPrintable

    • PostgreSQL
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      In postgres and mysql

      1. Create a course
      2. Go into gradebook->full view
      3. Click add category
      4. Add a Category
      5. Click add category again
      6. At the bottom dropdown, the course grade category should be default, NOT the one you added manually.
      Show
      In postgres and mysql Create a course Go into gradebook->full view Click add category Add a Category Click add category again At the bottom dropdown, the course grade category should be default, NOT the one you added manually.

      When in the Gradebook 'Full View', when you click Add Category, the behaviour can be inconsistent depending on your database. It defaults to whatever the top category is, but the categories are returned in DB order (unordered). In MySQL this will generally mean that the course category will be first, but in Postgres, order is not 'known', and in our case it means the most recently added category is at top.

            emerrill Eric Merrill
            emerrill Eric Merrill
            Andrew Davis Andrew Davis
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.