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

Force error/warning when Moodle assignment start and due date are identical

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_401_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-78435-401
    • Hide
      1. Log in as admin
      2. Create a course
      3. Add a group to the course
      4. Enable editing and press Add an activity or resource
      5. Choose Assignment, add a name
      6. Disable Remind me to grade by
      7. Set the following in the form:
        • Allow submissions from: 2 January 2024 00:00
        • Due date: 1 January 2024 00:00
      8. Press Save and display
      9. Confirm you see the form validation message: "Due date must be after the allow submissions from date."
      10. Set the following in the form:
        • Allow submissions from: 2 January 2024 00:00 (unchanged)
        • Due date: 2 January 2024 00:00
      11. Press Save and display
      12. Confirm you see the form validation message: "Due date must be after the allow submissions from date."
      13. Set the following in the form:
        • Allow submissions from: 2 January 2024 00:00 (unchanged)
        • Due date: 3 January 2024 00:00
      14. Press Save and display
      15. Confirm the form submission is successful and shows appropriate Opens and Due dates
      16. Press More > Overrides
      17. Select Group overrides > Add group override
      18. Select the group you previously created
      19. Set the following in the form:
        • Due date: 1 January 2024 00:00
      20. Press Save
      21. Confirm you see the form validation message: "Due date must be after the allow submissions from date."
      22. Set the following in the form:
        • Due date: 2 January 2024 00:00
      23. Press Save
      24. Confirm you see the form validation message: "Due date must be after the allow submissions from date."
      25. Set the following in the form:
        • Due date: 4 January 2024 00:00
      26. Press Save
      27. Confirm the form submission is successful and shows appropriate overridden Due date in Overrides table
      Show
      Log in as admin Create a course Add a group to the course Enable editing and press Add an activity or resource Choose Assignment , add a name Disable Remind me to grade by Set the following in the form: Allow submissions from: 2 January 2024 00:00 Due date: 1 January 2024 00:00 Press Save and display Confirm you see the form validation message: "Due date must be after the allow submissions from date." Set the following in the form: Allow submissions from: 2 January 2024 00:00 (unchanged) Due date: 2 January 2024 00:00 Press Save and display Confirm you see the form validation message: "Due date must be after the allow submissions from date." Set the following in the form: Allow submissions from: 2 January 2024 00:00 (unchanged) Due date: 3 January 2024 00:00 Press Save and display Confirm the form submission is successful and shows appropriate Opens and Due dates Press More > Overrides Select Group overrides > Add group override Select the group you previously created Set the following in the form: Due date: 1 January 2024 00:00 Press Save Confirm you see the form validation message: "Due date must be after the allow submissions from date." Set the following in the form: Due date: 2 January 2024 00:00 Press Save Confirm you see the form validation message: "Due date must be after the allow submissions from date." Set the following in the form: Due date: 4 January 2024 00:00 Press Save Confirm the form submission is successful and shows appropriate overridden Due date in Overrides table

      Hi,

      Is it possible to trigger an error or warning when a user is assigning an identical time and date to both start and due dates on a Moodle assignment? Currently when the start and due date and time are identical, a user will not be able to submit anything to the inbox as it both opens and closes at the same time. If an error or warning is triggered this will force the user setting up the inbox to either a) assign a start date and time earlier than the due date and time (allowing a user to submit to the inbox), or b) confirm that they are consciously setting the same start and due date/time for the inbox.

      Currently, if start date and/or time is set at later than the due date and/or time, it triggers an error. This rule can be extended to include identical start and due dates and times.

            pholden Paul Holden
            vrajendra Vivekananda Rajendra
            Mathew May Mathew May
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 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, 52 minutes
                1h 52m

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