Bug 1306628 - Cascade deleting Consumers with an environment should be logged
Summary: Cascade deleting Consumers with an environment should be logged
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 2.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Chris "Ceiu" Rog
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-11 13:39 UTC by Filip Nguyen
Modified: 2019-11-14 07:26 UTC (History)
4 users (show)

Fixed In Version: candlepin-2.0.12-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-13 18:51:29 UTC


Attachments (Terms of Use)

Description Filip Nguyen 2016-02-11 13:39:34 UTC
Description of problem:
Looking at code for all different versions of CP, it seems we are not logging information about deleted consumers that are being deleted with an environment

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create an environment and assign some consumers to it
2. Delete the environment through /environments resource. 

Actual results:
Logs/Audit doesn't contain information that consumers have been deleted

Expected results:
Logs/Audit contains the information

Additional info:
This is very important when trying to figure out why a specific consumer is missing in the database.

Comment 2 Chris "Ceiu" Rog 2016-05-06 13:10:33 UTC
commit 3446f15e1287ceac4656d960ee8b49b24c4e2f43
Author: Chris Rog <crog>
Date:   Mon May 2 10:55:18 2016 -0400

    1306628: Added additional logging to environment deletion


Note You need to log in before you can comment on or make changes to this bug.