[jboss-jira] [JBoss JIRA] (WFLY-8507) :resolve-path provides wrong path if attribute "path" contains absolute path
Jeff Mesnil (JIRA)
issues at jboss.org
Tue Apr 4 09:19:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-8507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Mesnil moved JBEAP-10125 to WFLY-8507:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8507 (was: JBEAP-10125)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JMS
(was: JMS)
Affects Version/s: (was: 7.1.0.DR14)
> :resolve-path provides wrong path if attribute "path" contains absolute path
> ----------------------------------------------------------------------------
>
> Key: WFLY-8507
> URL: https://issues.jboss.org/browse/WFLY-8507
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Reporter: Jeff Mesnil
> Assignee: Jeff Mesnil
>
> If attribute {{path}} for paging-directory is set as absolute and {{relative-to}} is undefined:
> {code}
> [standalone at localhost:9990 /] /subsystem=messaging-activemq/server=default/path=paging-directory:write-attribute(name=path, value=/tmp/paging-journal)
> [standalone at localhost:9990 /] /subsystem=messaging-activemq/server=default/path=paging-directory:undefine-attribute(name=relative-to)
> :reload
> {code}
> then {{:resolve-path}} returns concatenation of old {{relative-to}} and {{path}}:
> {code}
> [standalone at localhost:9990 /] /subsystem=messaging-activemq/server=default/path=paging-directory:resolve-path
> {
> "outcome" => "success",
> "result" => "/home/mnovak/hornetq_eap6_dev/internal/eap-tests-hornetq/scripts/server1/jboss-eap/standalone/data//tmp/paging-journal"
> }
> {code}
> Undefining attribute {{relative-to}} does not work. Also if {{path}} contains absolute path then relative-to is not ignored.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list