You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2010/11/23 21:48:13 UTC

[jira] Created: (FELIX-2707) Webconsole does not resolve resource bundle properly

Webconsole does not resolve resource bundle properly
----------------------------------------------------

                 Key: FELIX-2707
                 URL: https://issues.apache.org/jira/browse/FELIX-2707
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-3.1.6
            Reporter: Thomas Diesler


The webconsole seems to assume that the URLs returned by Bundle.findEntries are relative to the bundle root.

The result is that the ResourceBundle is not found and none of the i10n strings are displayed properly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Resolved] (FELIX-2707) Webconsole does not resolve resource bundle properly

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2707.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: webconsole-3.1.10
         Assignee: Felix Meschberger

Fixed in Rev. 1084402 by not assuming syntax of the URL path. Rather we assume the last segment in the path is the file name we expect. Thus we ignore everything on the URL path except for the last segment.

> Webconsole does not resolve resource bundle properly
> ----------------------------------------------------
>
>                 Key: FELIX-2707
>                 URL: https://issues.apache.org/jira/browse/FELIX-2707
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.6
>            Reporter: Thomas Diesler
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.1.10
>
>
> The webconsole seems to assume that the URLs returned by Bundle.findEntries are relative to the bundle root.
> The result is that the ResourceBundle is not found and none of the i10n strings are displayed properly

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (FELIX-2707) Webconsole does not resolve resource bundle properly

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-2707.
------------------------------------


Close after release
                
> Webconsole does not resolve resource bundle properly
> ----------------------------------------------------
>
>                 Key: FELIX-2707
>                 URL: https://issues.apache.org/jira/browse/FELIX-2707
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.6
>            Reporter: Thomas Diesler
>            Assignee: Felix Meschberger
>             Fix For: webconsole-4.0.0
>
>
> The webconsole seems to assume that the URLs returned by Bundle.findEntries are relative to the bundle root.
> The result is that the ResourceBundle is not found and none of the i10n strings are displayed properly

--
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

[jira] Commented: (FELIX-2707) Webconsole does not resolve resource bundle properly

Posted by "Thomas Diesler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935034#action_12935034 ] 

Thomas Diesler commented on FELIX-2707:
---------------------------------------

Here is the fix

https://github.com/jbosgi/org.apache.felix.webconsole/commit/a4162131922da6bbe36aa0947c469cfcf3583764

> Webconsole does not resolve resource bundle properly
> ----------------------------------------------------
>
>                 Key: FELIX-2707
>                 URL: https://issues.apache.org/jira/browse/FELIX-2707
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.6
>            Reporter: Thomas Diesler
>
> The webconsole seems to assume that the URLs returned by Bundle.findEntries are relative to the bundle root.
> The result is that the ResourceBundle is not found and none of the i10n strings are displayed properly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2707) Webconsole does not resolve resource bundle properly

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935365#action_12935365 ] 

Felix Meschberger commented on FELIX-2707:
------------------------------------------

Thanks for providing the patch; looks reasonable to me.

May I ask you to attach it as a file to this issue for proper IP trasnfer ? Thanks.

> Webconsole does not resolve resource bundle properly
> ----------------------------------------------------
>
>                 Key: FELIX-2707
>                 URL: https://issues.apache.org/jira/browse/FELIX-2707
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-3.1.6
>            Reporter: Thomas Diesler
>
> The webconsole seems to assume that the URLs returned by Bundle.findEntries are relative to the bundle root.
> The result is that the ResourceBundle is not found and none of the i10n strings are displayed properly

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.