Bug 484481
| Summary: | [PATCH] fix for inconsistency in generation rule of cloned errata advisory names | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Clifford Perry <cperry> | ||||||
| Component: | WebUI | Assignee: | Justin Sherrill <jsherril> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Clifford Perry <cperry> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 0.5 | CC: | bperkins, shughes, ssato | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 485020 (view as bug list) | Environment: | |||||||
| Last Closed: | 2009-09-17 07:10:03 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: | 456553 | ||||||||
| Attachments: |
|
||||||||
|
Description
Clifford Perry
2009-02-07 03:58:27 UTC
Created attachment 331265 [details]
An experimental patch #1
This is same as the patch I posted on spacewalk-devel list. This will make the perl version to behave likewise the jave codes do. That is,
Original Errata: RH?A-xxxxxx
=> Cloned Errata: CL?A-xxxxxx, CL?A-xxxxxx-1, CL?A-xxxxxx-2, ...
Created attachment 331266 [details]
Yet another patch (#2)
This is similar to the previous patch but somewhat different.
I'm not sure which is the wanted behavior so that post it for the record.
I found that java code actually takes a character denotes the advisory type of the errata away.
Example:
Original Errata: RH?A-xxxxxx
=> Cloned Errata: CLA-xxxxxx, CLA-xxxxxx-1, CLA-xxxxxx-2, ...
This patch mimics that way.
Steps to reproduce:
Clone RH Errata in different ways. (I do not try this in spacewalk actually.)
Java?: RH?A-xxxxxx -> CLA-xxxxx-1, CLA-xxxxx-2, ...
[Channels] (top navigation)
-> [Manage Software Channels] (left navigation)
-> Select and click [Channel Name] (from channel name list)
-> [Errata] (center top)
-> [Add]
Perl?: RH?A-xxxxxx -> CLMA-xxxxxx -> CLNA-xxxxxxx, ...
[Channels]
-> [Manage Software Channels]
-> Select and click [Channel Name] (from channel name list)
-> [Errata] (center top)
-> [Clone]
-> [Action] ("Merge with ..." or "Clone as ...")
Looks good to me: commit 8d5550f29cf052958eb2291725878c59c2ba36eb tree 4beafefb4ff884ccc9cccaa18cb129c46488d4f8 parent 1d79674358481ebb0b71c54d3e17bf094f900e2e Oh, just now saw the 2nd patch. Applied it and made a slight modification $adv = 'CL' . substr($adv, 2); $adv_name = 'CL' . substr($adv_name, 2); commit 743fca7ef6ac09be2c1d2a1969482d5497d8ff5f tree a543ad84868482e353264aab716db24752edaca9 parent 27a209ec912b96aa3bb0757ceac2f23f6161d418 Removing bug 484481 blocks bug 485020. Spacewalk 0.5 released. Spacewalk 0.5 has been released for long time ago. |