Bug 809078 - Duplicate ProductPoolAttributes are created.
Summary: Duplicate ProductPoolAttributes are created.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 796421
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-02 12:36 UTC by William Poteat
Modified: 2013-10-16 18:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 796421
Environment:
Last Closed: 2013-10-16 18:54:17 UTC


Attachments (Terms of Use)

Description William Poteat 2012-04-02 12:36:42 UTC
The hosted Candlepin in IT is showing the creation of duplicate ProductPoolAttributes in the database. This led to an inability to delete pools that was handled by a previous bug fix. The deletion of a pool will remove the duplicate attributes, but the condition should not arise to begin with.

There may need to be unique constraints applied to the ProductPoolAttribute table to stop this from happening. It will cause problems in the short term because the hosted DB will need to be cleaned first.

Determining the best way forward, accounting for short- and long-term pain will be the key.


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