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

Database activity let save without any activity completion rule selected

XMLWordPrintable

    • 1
    • HQ 2023 Sprint i2.3 Moppies

      Steps to reproduce

      1. Create a database activity
      2. In the Activity completion section, select "Show activity as complete when conditions are met" in Completion tracking.
      3. Remove all the rules (Require view, Require grade...).
      4. Save changes

      Expected behaviour

      An error is displayed (something like "When you select automatic completion, you must also enable at least one requirement (below).").

       

      Current behaviour

      The database activity is saved (and no error is displayed).

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Carlos Escobedo Carlos Escobedo
            Amaia Anabitarte Amaia Anabitarte
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 47 minutes
                1h 47m

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