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

Clearing course selection in new calendar event triggers exception

XMLWordPrintable

      When either:

      1. Creating new calendar event; or
      2. Importing calendar events

      Setting type = Group, then selecting and subsequently de-selecting a course:

      invalidparameter
      Invalid parameter value detected
      File: ...al/classes/external_api.php
      Line: 362
      Stack trace:
       
      courseid => Invalid parameter value detected (Invalid external api parameter: the value is "", the server was expecting "int" type): Invalid external api parameter: the value is "", the server was expecting "int" type
      Error code: invalidparameter
      * line 362 of /lib/external/classes/external_api.php: invalid_parameter_exception thrown
      * line ? of unknownfile: call to core_external\external_api::validate_parameters()
      * line 229 of /lib/external/classes/external_api.php: call to call_user_func()
      * line 83 of /lib/ajax/service.php: call to core_external\external_api::call_external_function()
      

      Regression from this change as part of MDL-60826

            pholden Paul Holden
            pholden Paul Holden
            Luca Bösch Luca Bösch
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours, 8 minutes
                2d 2h 8m

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