Bug 751949 - logs not being removed when recipes are
Summary: logs not being removed when recipes are
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Raymond Mancy
QA Contact:
URL:
Whiteboard:
: 747170 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-08 06:33 UTC by Raymond Mancy
Modified: 2019-05-22 13:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-26 07:16:54 UTC


Attachments (Terms of Use)

Description Raymond Mancy 2011-11-08 06:33:21 UTC
When deleting recipes this gets called in Recipe.delete():

  self.logs = []

As it is it's half baked and doesn't work. It only sets the FK in the log_* tables to NULL. 

I'm guessing we will need proper cascade rules at least.

We will also have to go through the DB and delete entries that have null FKs.

Comment 1 Raymond Mancy 2011-11-08 07:02:36 UTC
*** Bug 747170 has been marked as a duplicate of this bug. ***


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