[ 
https://issues.apache.org/jira/browse/STANBOL-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergio Fernández updated STANBOL-1061:
--------------------------------------

    Attachment: STANBOL-1061.patch

The attached patch solves the issue by retrieving the resource path using 
reflection.
                
> BaseStanbolResource.getConsoleBaseUri() does not work properly for 
> sub-resources
> --------------------------------------------------------------------------------
>
>                 Key: STANBOL-1061
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1061
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Web
>            Reporter: Sergio Fernández
>            Priority: Minor
>         Attachments: STANBOL-1061.patch
>
>
> I guess the solution for STANBOL-671 does not work properly for subresources, 
> since it introduces the path to the resource itself, for example:
> http://localhost:8080/enhancer/chain/system/console/configMgr/org.apache.stanbol.enhancer.chain.weighted.impl.WeightedChain.e4161962-c256-430e-8e0a-e2e9804a0691
> when actually it should be:
> http://localhost:8080/system/console/configMgr/org.apache.stanbol.enhancer.chain.weighted.impl.WeightedChain.e4161962-c256-430e-8e0a-e2e9804a0691

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to