Environment
- Verint Community 14.0.0.684, self-hosted in Docker on Linux.
- The database is restored from a v12 production backup and upgraded with the 14.0.0.684 installer.
- The Reporting plugin (
Telligent.Reporting.ReportingPlugin) is enabled, and theReportingconnection string is set and valid. - The site does not have a licence that covers Reporting.
Steps to reproduce
- Sign in as an administrator. The account has the site reporting permission.
- Open Administration, then Members.
- The member list fails to render. The event log records the exception below.
Expected: the Members panel renders. Reporting is unlicensed, so the post count link should use the search fallback that render-user.vm already has.
Actual: rendering fails with:
An error occurred while rendering the 'callback-list.jsm' script from the 'Members' widget (f2902764-9ce1-4609-848f-5900b44a3ed2). EXCEPTION 3: An error occurred while rendering the 'render-user.vm' script from the 'Members' widget EXCEPTION 2: Invocation of method 'Content' in Telligent.Reporting.ReportUrlService threw exception System.NullReferenceException ORIGINAL EXCEPTION STACK TRACE at Telligent.Reporting.ReportUrlService.PanelUrl(Guid reportId, IDictionary options) in /src/Telligent.Reporting/Administration/Services/ReportUrlService.cs:line 686
Our analysis
render-user.vm(around line 53) calls$core_v1_reportingUrls.Content(...). If that returns nothing, it falls back to$core_v2_urls.Search(...). So the widget is meant to cope with Reporting being unavailable.ReportUrlService.Contentreturns null only when the user has neither site nor group reporting permission. It doesn't check whether Reporting is licensed. An administrator has the permission, so it goes on toPanelUrl.PanelUrlasks for the administration URL of the Reporting panel.ReportingPlugin.HasAccessrefuses access when there is no valid licence, so that URL comes back null.PanelUrlthen calls.Split('#')on the null URL, which gives the NullReferenceException atReportUrlService.cs:686.
In short: the permission check in Content and the licence check in HasAccess disagree. Any administrator on a site where Reporting is enabled but not licensed can't use the Members panel.
Workarounds we know of: disable the Reporting plugin, or install a licence that covers Reporting. We would rather not have to do either just to use the Members panel.