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

Event should use event->contextinstanceid and not event->context->instanceid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.6.1
    • Events API
    • BACKEND Sprint 9

      Context used in event url and description are not using event::get_context() or event->contextinstanceid

      While event restore, context might not be found (deleted), in those cases event will give error for event::get_url()
      Please use properties of event rather then relying on get_context()

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Petr Skoda Petr Skoda (Inactive)
            Marina Glancy Marina Glancy
            Marina Glancy Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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