Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: OpenIDM 4.5.0
-
Fix Version/s: OpenIDM 4.5.1
-
Component/s: Module - Audit, Module - Web UI
-
Labels:None
-
Target Version/s:
-
Verified Version/s:
-
Support Ticket IDs:
Description
This issue occurs when trying to switch the "use for queries" from repo to csv:
Using OOB 4.5:
- Go to Configure > System Preferences > Audit
- Select "Use for Queries" on the CSV Handler (DO NOT press save yet)
- Edit the CSV handler by clicking on edit icon
- The Edit Handler View appears: Make no changes but click Submit
- Click Save on the parent view
View the audit.json to see that the CSV handler has enabled:false.
"eventHandlers" : [ { "class" : "org.forgerock.audit.handlers.csv.CsvAuditEventHandler", "config" : { "fileRotation" : { "rotationEnabled" : true, "maxFileSize" : 0, "rotationFilePrefix" : "", "rotationTimes" : [ ], "rotationFileSuffix" : "-yyyy.MM.dd-HH.mm", "rotationInterval" : "5 minutes" }, .... "enabled" : false } },
This causes issues if you have mappings and then click on the mappings page. The following error would result:
{ "method": "GET", "url": "https://va-portal.ossc.com:8443/openidm/endpoint/mappingDetails", }, "response": { "status": 500, "statusText": "Server Error", "httpVersion": "HTTP/1.1", "content": { "mimeType": "application/json; charset=UTF-8", "size": 155, "text": "{\"code\":500,\"reason\":\"Internal Server Error\",\"message\":\"The handler defined for queries, 'csv', has not been registered to the audit service.\",\"detail\":{}}" },
Attachments
Issue Links
- is a backport of
-
OPENIDM-8005 Error when enabling the csv audit handler for queries
-
- Closed
-