Project

General

Profile

Bug #26675

[Audit] Repository creation under product creates audit record with empty content

Added by Kavita Gaikwad about 1 year ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

This ticket created for having katello side changes includes audit hook method to repository models.


Related issues

Related to Foreman - Bug #26200: [Audit] Repository creation under product creates audit record with empty contentClosed

Associated revisions

Revision 1265e895 (diff)
Added by Kavita Gaikwad 9 months ago

Fixes #26675 - audit hook in root_repository model (#8090)

  • Fixes #26675 - audit hook in root_repository model

With this commit, it will show content info instead of
empty value under root_repository's audit record on web-ui.
To achieve this, added audit hook in root_repository so that
it will find associated records like 'content' where no real
association defined on the model.

  • Refs #26675 - added test for audit_hook in root_repository

History

#1 Updated by Kavita Gaikwad about 1 year ago

  • Related to Bug #26200: [Audit] Repository creation under product creates audit record with empty content added

#2 Updated by James Jeffers about 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

#3 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8090 added

#4 Updated by Jonathon Turel 9 months ago

  • Target version changed from Katello 3.13.0 to Katello 3.14.0

#5 Updated by Marek Hulán 9 months ago

  • Bugzilla link set to 1647781

#6 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases Katello 3.14.0 added

#7 Updated by Kavita Gaikwad 9 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF