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

Student can't create user calendar event

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as admin.
      2. Go to a course enrol yourself and another user as student.
      3. Turn editing on and add the Calendar block
      4. Click on the month link (October 2017) to go to calendar.
      5. On the calendar, click on New event button.
      6. Make sure the default event type is set to course and the course selector default is the course you are.
      7. Now go back to Site Home.
      8. Click Calendar on the navigation drawer.
      9. Click New event button.
      10. Make sure the default event type is user and close the event form modal.
      11. On the month view, select the course you are enrolled on the course selector (top left).
      12. Make sure the default event type is set to course and the course selector default is the course you are.
      13. Now, log in as the student.
      14. Go to the course you have enrolled that user and then click on the Month link to go to the calendar.
      15. Click New event button.
      16. Make sure the event type is fixed as User
      17. Fill the form and save.
      18. The event should be created and you don't get stuck on the event form modal
      Show
      Log in as admin. Go to a course enrol yourself and another user as student. Turn editing on and add the Calendar block Click on the month link (October 2017) to go to calendar. On the calendar, click on New event button. Make sure the default event type is set to course and the course selector default is the course you are. Now go back to Site Home. Click Calendar on the navigation drawer. Click New event button. Make sure the default event type is user and close the event form modal. On the month view, select the course you are enrolled on the course selector (top left). Make sure the default event type is set to course and the course selector default is the course you are. Now, log in as the student. Go to the course you have enrolled that user and then click on the Month link to go to the calendar. Click New event button. Make sure the event type is fixed as User Fill the form and save. The event should be created and you don't get stuck on the event form modal
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60468-master

      Description

      When creating the new event as a student I got stuck on the new event popup - I press save and it just reloads without any error.

      The "Type of event" element is locked because student can only create one type of event. If I look at the source code I can see :

      <input name="eventtype" type="hidden" value="course">
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Sara Arjona (@sarjona)
              Integrator:
              Andrew Nicols
              Tester:
              Andrew Nicols
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17