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

Editing a calendar event of type category and removing the category results in an error

XMLWordPrintable

    • MOODLE_310_STABLE
    • MOODLE_310_STABLE
    • MDL-70648-master
    • Hide

      Before upgrade

      1. Log in as admin.
      2. Go to calendar and click New event button.
      3. Set the Event type to category, click [x] to remove the pre-selected category and click save.
      4. Close the event modal and note the event has been created.
      5. Run upgrade.
      6. Make sure the problematic event has been removed.
      7. Make sure you don't see any error messages.

      After upgrade

      1. As admin go to calendar and click New event button.
      2. Set the Event type to category and click [x] to remove the pre-selected category and click save.
      3. Make sure validation message is displayed "Please sleect a category".
      4. Make sure the event is not saved.
      5. Still in the Calendar, create an user event.
      6. Edit this event, set the Event type to category, click [x] to remove the pre-selected category and click save.
      7. Make sure validation message is displayed "Please select a category".
      8. Make sure the event is not saved.
      Show
      Before upgrade Log in as admin. Go to calendar and click New event button. Set the Event type to category , click [x] to remove the pre-selected category and click save. Close the event modal and note the event has been created. Run upgrade. Make sure the problematic event has been removed. Make sure you don't see any error messages. After upgrade As admin go to calendar and click New event button. Set the Event type to category and click [x] to remove the pre-selected category and click save. Make sure validation message is displayed "Please sleect a category". Make sure the event is not saved. Still in the Calendar, create an user event. Edit this event, set the Event type to category , click [x] to remove the pre-selected category and click save. Make sure validation message is displayed "Please select a category". Make sure the event is not saved.
    • 0
    • Internationals - 3.11 Sprint 4, Internationals - 3.11 Sprint 5

      One of my users has discovered an account breaking bug...

      To break your account... create calendar event , edit it, change type to category but nul the category field. save it and your account is broken.

      then every time that user logs in, they get the following error message:

      Exception - Call to a member function get_proxied_instance() on null

      I was able to solve by deleting the user and re-adding.  Not the most elegant solution, but it seems to have resolved.

        1. MDL-70648 no category.png
          MDL-70648 no category.png
          82 kB
        2. MDL-70648 broken.png
          MDL-70648 broken.png
          162 kB
        3. Screenshot_1.jpg
          Screenshot_1.jpg
          68 kB
        4. Screenshot_2.jpg
          Screenshot_2.jpg
          37 kB

            lameze Simey Lameze
            zachguithues Zach Guithues
            Shamim Rezaie Shamim Rezaie
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 51 minutes
                4h 51m

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