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

'Attach Evidence' default when adding competencies to courses which already have completion data

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.9.12, 3.10.9, 3.11.5
    • None
    • None
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE

    Description

      When adding competencies to courses which already have completion data for users the default of 'Attach Evidence' means that evidence can/may be added by the scheduled task before the administrator changes the dropdown to another choice (e.g. 'Do Nothing').

      Steps to reproduce:
      1. Identify a course that already has user completion data
      2. Go to the course competencies page
      3. Add a competency
      4. Wait for for 2 mins
      5. Change the dropdown from 'Attach Evidence' to 'Do Nothing'
      6. Check the user competencies for a course, users who have completed the course are likely to have attached evidence (depending on the number of users because the scheduled task is batch based)

      This occurs because step 5 and the scheduled task are a race condition and the scheduled task runs every minute.

      Possible solution:
      a) Change the default to 'Do Nothing'
      b) Change the default to blank/please choose and make the field required

      Attachments

        Activity

          People

            Unassigned Unassigned
            jjs105 Jon Spain
            Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: