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

Remove competency rules on parent when children are being moved or deleted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Edit a framework
      2. In these scenarios, a confirmation dialogue about "Rules" should popup asking you to confirm your actions:
        • Deleting a competency when the parent has rules.
        • Adding a competency when the competency to add to has rules.
        • Moving a competency when its parent has rules
        • Moving a competency when its destination has rules
        • Moving a competency that has rules to a child of itself
      Show
      Edit a framework In these scenarios, a confirmation dialogue about "Rules" should popup asking you to confirm your actions: Deleting a competency when the parent has rules. Adding a competency when the competency to add to has rules. Moving a competency when its parent has rules Moving a competency when its destination has rules Moving a competency that has rules to a child of itself
    • Affected Branches:
      MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-52106-master
    • Story Points:
      3
    • Sprint:
      CBE Sprint 3

      Description

      When used in rules, especially with the rule based on points, if a competency is moved then the validation for the parent will fail when edited. But more importantly the rule of the parent it is coming from and the rules of the parent where it is going to will be affected in a random way. Also our UI will not display rules that have been moved, or deleted.

      In order to prevent managers from messing up a framework we will prevent move, delete and perhaps add when the competency is being used in a rule.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Damyon Wiese
              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:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: