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

In course upload, it is possible to set course visibility to 2 which prompts an error in dashboard for enrolled students

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.7, 3.7.3, 3.8
    • Fix Version/s: 3.7.4, 3.8.1
    • Component/s: Course
    • Labels:

      Description

      There's the possibility to set the visibility of a course to 2 when uploading courses.
      This then leads to an error on the dashboard of enrolled students.

      TO REPRODUCE:
      Upload a file like the attached one with content

      shortname,fullname,category,visible
      courserestored,Course restored,1,2

      Enrol a student to that course.

      Then, as that student, access your dashboard.

      WHAT YOU EXPECT:
      There should be no course with visibility 2.

      WHAT ACTUALLY HAPPENS
      A course with visibility 2 is created.

        Attachments

        1. Confirmed fixed.PNG
          Confirmed fixed.PNG
          30 kB
        2. MDL-67210.png
          MDL-67210.png
          480 kB
        3. MDL-67210-after.png
          MDL-67210-after.png
          71 kB
        4. uploadcourse.csv
          0.1 kB

          Activity

            People

            Assignee:
            lucaboesch Luca Bösch
            Reporter:
            lucaboesch Luca Bösch
            Peer reviewer:
            Peter Dias
            Integrator:
            Sara Arjona (@sarjona)
            Tester:
            Gladys Basiana
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jan/20

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 46 minutes
                46m