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

enrol welcome message form should not display not working options

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5.5, 5.0.1
    • Enrolments
    • MOODLE_405_STABLE, MOODLE_500_STABLE
    • MDL-85367-MOODLE_405_STABLE
    • MDL-85367-MOODLE_500_STABLE
    • MDL-85367-main
    • Hide

      For the "From course contact" option:

      1. As admin go to "Website administration > Appearence"
      2. Verify that config "coursecontact" has only "Teacher" selected.
      3. Create a course
      4. Create a user and enrol the user with role "student"
      5. As admin go to the "Participants" page of the created course and go to "Enrolment methods"
      6. Add a self enrolment method
      7. Verify, that the dropdown "Send course welcome message" does NOT contain "From the course contact"
      8. Create a user and enrol the user as "Teacher" into the course
      9. Go to "Participants > Enrolment methods" and add a "Self enrolment" isntance
      10. Verify the dropdown "Send course welcome message" DOES contain "From the course contact"
      11. Repeat the test for the enrolment method "manual"

      And for the "key holder option":

      1. Verify the "Send course welcome message" dropdown does NOT contain "From key holder"
      2. As admin go to website administration -> Users -> Define Roles -> Teacher -> Edit, scroll down and set enrol/self:holdkey to Allow
      3. Enrol a user with role "Teacher" into a course
      4. Log in as this teacher user
      5. Go to "participants" -> "Enrolment methods"
      6. Add a self enrolment method
      7. Verify that the dropdown "Send course welcome message" DOES contain the option "From key holder"
      8. Repeat the test for the enrolment method "manual"
      Show
      For the "From course contact" option: As admin go to "Website administration > Appearence" Verify that config "coursecontact" has only "Teacher" selected. Create a course Create a user and enrol the user with role "student" As admin go to the "Participants" page of the created course and go to "Enrolment methods" Add a self enrolment method Verify , that the dropdown "Send course welcome message" does NOT contain "From the course contact" Create a user and enrol the user as "Teacher" into the course Go to "Participants > Enrolment methods" and add a "Self enrolment" isntance Verify the dropdown "Send course welcome message" DOES contain "From the course contact" Repeat the test for the enrolment method "manual" And for the "key holder option": Verify the "Send course welcome message" dropdown does NOT contain "From key holder" As admin go to website administration -> Users -> Define Roles -> Teacher -> Edit, scroll down and set enrol/self:holdkey to Allow Enrol a user with role "Teacher" into a course Log in as this teacher user Go to "participants" -> "Enrolment methods" Add a self enrolment method Verify that the dropdown "Send course welcome message" DOES contain the option "From key holder" Repeat the test for the enrolment method "manual"
    • Hide

      Code verified against automated checks.

      Checked MDL-85367 using repository: https://github.com/phmemmel/moodle.git

      More information about this report

      Built on: Tue May 6 05:58:23 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-85367 using repository: https://github.com/phmemmel/moodle.git MOODLE_405_STABLE (0 errors / 0 warnings) [branch: MDL-85367-MOODLE_405_STABLE | CI Job ] MOODLE_500_STABLE (0 errors / 0 warnings) [branch: MDL-85367-MOODLE_500_STABLE | CI Job ] main (0 errors / 0 warnings) [branch: MDL-85367-main | CI Job ] More information about this report Built on: Tue May 6 05:58:23 UTC 2025
    • Hide

      Launching automatic jobs for branch MDL-85367-MOODLE_405_STABLE

      Launching automatic jobs for branch MDL-85367-MOODLE_500_STABLE

      Launching automatic jobs for branch MDL-85367-main

      Built on: Mon May 19 07:12:45 UTC 2025

      Show
      Launching automatic jobs for branch MDL-85367 -MOODLE_405_STABLE https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66211/ Behat (NonJS - boost and classic / --name "A course welcome message will be sent to the user when they are enrolled in a course") https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66212/ Behat (Firefox - boost / --name "A course welcome message will be sent to the user when they are enrolled in a course") https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66213/ Behat (Firefox - classic / --name "A course welcome message will be sent to the user when they are enrolled in a course") Launching automatic jobs for branch MDL-85367 -MOODLE_500_STABLE https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66214/ Behat (NonJS - boost and classic / --name "A course welcome message will be sent to the user when they are enrolled in a course") https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66215/ Behat (Firefox - boost / --name "A course welcome message will be sent to the user when they are enrolled in a course") https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66216/ Behat (Firefox - classic / --name "A course welcome message will be sent to the user when they are enrolled in a course") Launching automatic jobs for branch MDL-85367 -main https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66217/ Behat (NonJS - boost and classic / --name "A course welcome message will be sent to the user when they are enrolled in a course") https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66218/ Behat (Firefox - boost / --name "A course welcome message will be sent to the user when they are enrolled in a course") https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66219/ Behat (Firefox - classic / --name "A course welcome message will be sent to the user when they are enrolled in a course") https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66220/ App tests (stable app version) / --name "A course welcome message will be sent to the user when they are enrolled in a course") Built on: Mon May 19 07:12:45 UTC 2025

      Currently when trying to configure an enrolment method in such a way that a welcome message is being sent the option "From the course contact" and "From the key holder" are being displayed all the time, even if there are no course contact roles defined or noone has the enrol/self:holdkey capability.

      This leads to the fact that teachers/instructors assume welcome messages are being sent when there are not which is a UX issue.

            phmemmel PhMemmel
            phmemmel PhMemmel
            Luca Bösch Luca Bösch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m

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