Bug 642519
Summary: | errata.create fails with same keywords | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Tomas Lestach <tlestach> |
Component: | API | Assignee: | Tomas Lestach <tlestach> |
Status: | CLOSED ERRATA | QA Contact: | Šimon Lukašík <slukasik> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 540 | CC: | slukasik |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause
rhn_err_keywordtmp_eid_uq constrain doesn't allow same keywords associated with a single erratum
Consequence
errata.create API fails with NonUniqueObjectException, when setting same keywords
Fix
Duplicates will be removed from the erratum keyword list before storing them.
Result
Only one keyword will be stored, when setting keyword dupes. No Traceback.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-03-17 14:13:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 646488 |
Description
Tomas Lestach
2010-10-13 08:36:41 UTC
Our schema supports only a unique keyword for an erratum. Adding check - not to associate two same keywords with an erratum Fixed in spacewalk: a03aed255654a38d4b08945f2a2f5ffe73d6a5a5 Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause rhn_err_keywordtmp_eid_uq constrain doesn't allow same keywords associated with a single erratum Consequence errata.create API fails with NonUniqueObjectException, when setting same keywords Fix Duplicates will be removed from the erratum keyword list before storing them. Result Only one keyword will be stored, when setting keyword dupes. No Traceback. Taking QA contact. Should be easy to automate. Changing to Verified. Testing procedure: Automated test. Verified against: spacewalk-java-1.2.39-38 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0362.html |