Bug 1061955
| Summary: | job.product_id column has wrong type and no foreign key | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
| Component: | web UI | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.15 | CC: | aigao, asaha, dcallagh, jingwang, jzhao, qwan, rmancy, tools-bugs |
| Target Milestone: | 19.0 | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-11-25 07:18:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dan Callaghan
2014-02-05 22:55:46 UTC
(In reply to Dan Callaghan from comment #0) > The job.product_id column has type VARCHAR(100) but it actually holds ids > from the product table, so it should be an INT with a foreign key to > product.id. so for testing this bug, just check the job.product_id column should be an INT Type and a foreign key to product.id in DB? and if no regression after an acceptance test, this bug could be verified? (In reply to wangjing from comment #2) Yes. This is one of the inconsistencies which I found and fixed by running our new db migration tests against a production schema. http://gerrit.beaker-project.org/3390 Beaker 19.0 has been released. |