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

Audience tab can throw errors if audience type is removed from instance

    XMLWordPrintable

Details

    Description

      If a report is using an audience type, and later this audience type is deleted from the instance, an exception will show up when trying to access the Audience tab:

      Error code: generalexceptionmessage
      * line 106 of /reportbuilder/classes/output/dynamictabs/audience.php: Error thrown
      * line 50 of /reportbuilder/classes/output/dynamictabs/audience.php: call to core_reportbuilder\output\dynamictabs\audience->get_all_report_audiences()
      * line 92 of /lib/classes/external/dynamic_tabs_get_content.php: call to core_reportbuilder\output\dynamictabs\audience->export_for_template()
      * line 261 of /lib/externallib.php: call to core\external\dynamic_tabs_get_content::execute()
      * line 81 of /lib/ajax/service.php: call to external_api::call_external_function()

       

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              davidcarrillo David Carrillo
              David Carrillo David Carrillo
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 55 minutes
                  55m