Bug #25437
closedAudits contain no data (Added foo to Missing(ID: x))
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1647781
Description of problem:
whenever user creates a repository, there are 2 audit records created:
```
Admin added KATELLO/ROOT REPOSITORY foo_repo
Added foo_repo to N/A
```
and
```
Admin updated KATELLO/ROOT REPOSITORY foo_repo
Content N/A Missing(ID: 1541672884013)
```
Version-Release number of selected component (if applicable):
6.5.0-2
How reproducible:
always
Actual results:
Content N/A Missing(ID: 1541672884013)
Expected results:
I would expect a single `create` audit with all the attributes of the repository in the record (with credentials and sensitive information masked)
Additional info:
2 records with no info in them
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman/pull/6237 added
Updated by Tomer Brisker about 6 years ago
- Subject changed from Audits contain no data (Added foo to Missing(ID: x)) to Audits contain no data (Added foo to Missing(ID: x))
- Fixed in Releases 1.20.1, 1.21.0 added
Updated by Marek Hulán about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 715e712a9b3d7b22282cea29eadc391039f9c8ab.