1

Closed

Issue with AuditTrail module

description

When the Audit trail module is enabled, changing settings in the App Insights module causes an error and audit tracking fails.
Orchard.ContentManagement.DefaultContentManager - Default - ArgumentNullException thrown from IContentHandler by Orchard.AuditTrail.Providers.Content.GlobalContentHandler
 https://localhost/Admin/Settings/AzureApplicationInsightsSettings
System.ArgumentNullException: Value cannot be null.
Closed Jun 14, 2015 at 11:05 PM by Piedone
This is not an issue with the module. It's caused by Search settings: you have to have a search index selected and saved.

comments

Piedone wrote May 6, 2015 at 1:27 PM

This seems like an issue with Audit Trail. Do you know what's null?

dcinzona wrote May 6, 2015 at 1:58 PM

Nope, no reference. Only happens when I make changes to the settings for App Insights. Other changes are audited correctly.

It should be easy to reproduce. Just enable all features of the Audit Trail module and go to the azure app insights settings and click save. You don't even have to make any changes.

Piedone wrote May 6, 2015 at 4:40 PM

I'll take a look but this may be just after the official 1.9 release.