]
ehsavoie Hugonnet moved JBEAP-4387 to WFLY-6564:
------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-6564 (was: JBEAP-4387)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: REST
(was: REST)
Target Release: (was: 7.backlog.GA)
Affects Version/s: 10.0.0.Final
(was: 7.0.0.CR2)
show-resources operation of jaxrs subsystem shows wrong path in
resource-methods attribute
------------------------------------------------------------------------------------------
Key: WFLY-6564
URL:
https://issues.jboss.org/browse/WFLY-6564
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 10.0.0.Final
Reporter: ehsavoie Hugonnet
Assignee: ehsavoie Hugonnet
*Description of problem:*
Show-resources operation of jaxrs subsystem shows wrong path in resource-methods
attribute. There are double slash in path. Eg.: "/jaxrs-eap//sample", but
correct path is "/jaxrs-eap/sample" (
http://localhost:8080/jaxrs-eap/sample)
This operation was added by WFLY-3045.
*How reproducible:*
Always
*Steps to Reproduce:*
# ./standalone.sh
# deploy /home/mkopecky/playground/resteasy/single-application/target/jaxrs-eap.war
# /deployment=jaxrs-eap.war/subsystem=jaxrs:show-resources
*Actual results:*
{noformat}
...
"resource-methods" => ["GET /jaxrs-eap//sample -
org.resteasy.simple.deployment.AdvancedService.get()"]
...
{noformat}
*Expected results:*
{noformat}
...
"resource-methods" => ["GET /jaxrs-eap/sample -
org.resteasy.simple.deployment.AdvancedService.get()"]
...
{noformat}