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

Framework scales configuration must be mandatory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide
      • Login with admin
      • Go to Site administration > Competency frameworks
      • Click on "Add new competency framework" button
      • Enter the information (name, id number, scale) but do not define scale configuration
      • Save de framework.
      • You must see an error message
      • Click on "Configure scales" button.
      • Chose one value in proficient column.
      • Close and Save changes
      • You must see an error message
      • Click on "Configure scales" button.
      • Unselect the value in proficient column and chose one value in default column.
      • Close and Save changes
      • You must see an error message
      • Click on "Configure scales" button.
      • Chose one of the values in default and proficient columns.
      • Close and Save changes
      • You must not see error message.
      Show
      Login with admin Go to Site administration > Competency frameworks Click on "Add new competency framework" button Enter the information (name, id number, scale) but do not define scale configuration Save de framework. You must see an error message Click on "Configure scales" button. Chose one value in proficient column. Close and Save changes You must see an error message Click on "Configure scales" button. Unselect the value in proficient column and chose one value in default column. Close and Save changes You must see an error message Click on "Configure scales" button. Chose one of the values in default and proficient columns. Close and Save changes You must not see error message.
    • Affected Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-51442_master
    • Story Points:
      2
    • Sprint:
      CBE Sprint 0

      Description

      Currently it is possible for scales to be set without a default or proficiency value set. The form needs to throw a validation error when the scale was not properly defined when creating a competency framework.

      We consider the scale properly configured when:

      • It defines a default value
      • It defines at least one proficiency value

      Search for TODOs in the existing code.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sergeg55 Serge Gauthier
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Frédéric Massart
              Participants:
              Component watchers:
              Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: