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

Import group form filepicker field is not defined as required

XMLWordPrintable

    • MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-80498_403
    • MDL-80498_master
    • Hide

       

      1. Login with Administrator.
      2. Launch any course.
      3. Click on Participants menu --> Click on Enrolled User drop-down and select Groups
      4. Click on Import groups button.
      5. Don't upload csv file in the file picker field and submit the form by clicking on Import groups.
      6. Form should not be submitted and it should show validation error for filepicker field.

       

      Show
        Login with Administrator. Launch any course. Click on Participants menu --> Click on Enrolled User drop-down and select Groups Click on Import groups button. Don't upload csv file in the file picker field and submit the form by clicking on Import groups. Form should not be submitted and it should show validation error for filepicker field.  

      While trying import groups feature from the course, it has been found that the file picker field is not defined as required which is resulting into an error after submitting the form.

      Expected Result: Form should not be submitted and it should show validation error for file selector field.

      Actual Result: Form gets submitted and throws moodle exception

            santoshnagargoje Santosh Nagargoje
            santoshnagargoje Santosh Nagargoje
            Meirza Meirza
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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