-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: OpenIDM 3.1.0
-
Fix Version/s: OpenIDM 3.1.0
-
Component/s: Module - Audit
-
Labels:
-
Sprint:Sprint 30
The issue is that when a managed user is updated, it is not logged anymore in activity audit.
on r4348, there was no issue
on r4359, ther was an issue
I suspect the commit the caused the issues is:
http://sources.forgerock.org/changelog/openidm?cs=4353
done for : https://bugster.forgerock.org/jira/browse/OPENIDM-2500
Here is how to reproduce:
- create user
curl --header "If-None-Match: *" --header "Content-Type: application/json" --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --data '{"userName": "rsutter", "telephoneNumber": "6669876987", "givenName": "rick", "description": "Just another John Doe or Joe Smith", "sn": "sutter", "mail": "rick@example.com", "password": "Th3Password"}' --request PUT "http://localhost:8080/openidm/managed/user/ricksutter"
- update user
curl --header "Content-Type: application/json" --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --header "If-Match: *" --data '{"userName": "rsutter", "telephoneNumber": "6669876987", "givenName": "rick", "description": "Just another John Doe or Joe Smith", "sn": "sutter", "mail": "new@mail.com", "password": "Th3Password"}' --request PUT "http://localhost:8080/openidm/managed/user/ricksutter"
=> should be an "update" line in actity audit, but there is not.