Bug 645829
| Summary: | Curly brackets used in macro delimiters are trimmed when creating a configuration file via WebUI | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Pavel Novotny <pnovotny> |
| Component: | Configuration Management | Assignee: | Tomas Lestach <tlestach> |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 540 | CC: | cperry, xdmoon |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, using WebUI to create a new configuration caused all curly brackets (that is, "{" and "}") to be removed. This error has been fixed, and curly brackets are now correctly accepted in macro delimiters.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-16 15:45:02 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 | ||
Do not "scrub" cffMacroStart and cffMacroEnd spacewalk.git: 8b32a8722ea2f85c1456c84ec02aef19dc0e20ab I found out, there's one more issue - it was impossible to update macro delimiters on the rhn/configuration/file/FileDetails.do page. Available fix: spacewalk.git: 72e8dccd46d1336c633f298fc7bba28340735e9a bug 654121 - maybe same issue? Srubbing of the Marco's incorrectly. *** Bug 654121 has been marked as a duplicate of this bug. *** Failed QA. Curly brackets are still trimmed in the same way as described in comment #0. # rpm -q spacewalk-java spacewalk-java-1.2.39-33.el5sat Verified.
I used characters such as '{|', '{@', '{}|', '{{@' as macro delimiters and all were saved successfully without trimming.
# rpm -q spacewalk-java
spacewalk-java-1.2.39-34.el5sat
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-2010-0991.html
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:
Previously, using WebUI to create a new configuration caused all curly brackets (that is, "{" and "}") to be removed. This error has been fixed, and curly brackets are now correctly accepted in macro delimiters.
|
Description of problem: Creating a new configuration file via WebUI causes that curly brackets used in macro delimiters are trimmed. Version-Release number of selected component (if applicable): spacewalk-java-1.2.39-29.el5sat spacewalk-config-1.2.2-1.el5sat How reproducible: Always Steps to Reproduce: 1. Create a configuration channel (Configuration -> Configuration Channels -> create new config channel) 2. Create configuration file (conf. channel -> Add files -> Create file) and set macro delimiters to '{|', '|}' or '{@', '@}'. 3. Submit the form. Actual results: Curly brackets are trimmed in macro delimiter fields. You can see only '|', '|' or '@', '@'. Expected results: Do not trim curly brackets! Additional info: Config file created with client tools (rhncfg-manager add --delim-start=...) is *not* affected by this behaviour and delimiters are saved correctly. So this issue is surely only matter of WebUI or some backend package.