Bug 1257061
| Summary: | [GSS](6.4.z) access-log relative-to attribute is not physically written to the configuration it the value is the default one | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Tom Fonteyne <tfonteyn> |
| Component: | Web | Assignee: | Dominik Pospisil <dpospisi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radim Hatlapatka <rhatlapa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.4.2 | CC: | bmaxwell, dpospisi, justin.dugan, mcada, rmaucher, rstancel |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.16 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-22 09:19:39 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1434495 | ||
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Verified with EAP 6.4.16.CP.CR1 Released on June 20 2017 as part of the EAP 6.4.16 maintenance release. |
if relative-to="jboss.server.log.dir" then it it not pohysically written to the configuration. The setup still works as expected, because the server uses the default value anyhow. reproduce: # add the access-log entry /subsystem=web/virtual-server=default-host/configuration=access-log:add # set both path and relative-to /subsystem=web/virtual-server=default-host/configuration=access-log/setting=directory:add(path=".",relative-to="jboss.server.log.dir") # use the CLI to read the actual config: /subsystem=web/virtual-server=default-host/configuration=access-log/setting=directory:read-resource { "outcome" => "success", "result" => { "path" => ".", "relative-to" => "jboss.server.log.dir" }, in xml: <virtual-server name="default-host" enable-welcome-root="true"> <alias name="localhost"/> <alias name="example.com"/> <access-log> <directory path="."/> </access-log> </virtual-server> Note that "relative-to" is not present in xml. Expectation: that the value is written to xml regardless Note that using for example a named path, and setting relative-to to that named path, the relative-to is correctly written. Either way, the server works as expected as the default value is used when not present