You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "jamie campbell (JIRA)" <ji...@apache.org> on 2011/03/01 23:03:36 UTC

[jira] Created: (FELIX-2868) Icon only works if absolute path specified, but specification allows for relative urls

Icon only works if absolute path specified, but specification allows for relative urls
--------------------------------------------------------------------------------------

                 Key: FELIX-2868
                 URL: https://issues.apache.org/jira/browse/FELIX-2868
             Project: Felix
          Issue Type: Bug
          Components: Metatype Service
    Affects Versions: metatype-1.0.4
         Environment: ubuntu 10.04
            Reporter: jamie campbell
            Priority: Minor


the icon's "resource" attribute only resolves to an icon if the absolute url path is specified, but the specification says "The base URL is assumed to be the XML file with the definition.  I.e. if the XML is a resource in the JAR file, then this URL can reference another resource in that JAR file using a relative URL." 

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

        

[jira] [Closed] (FELIX-2868) Icon only works if absolute path specified, but specification allows for relative urls

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

Felix Meschberger closed FELIX-2868.
------------------------------------


Close after release
                
> Icon only works if absolute path specified, but specification allows for relative urls
> --------------------------------------------------------------------------------------
>
>                 Key: FELIX-2868
>                 URL: https://issues.apache.org/jira/browse/FELIX-2868
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions: metatype-1.0.4
>         Environment: ubuntu 10.04
>            Reporter: jamie campbell
>            Assignee: Felix Meschberger
>            Priority: Minor
>             Fix For:  metatype-1.0.6
>
>
> the icon's "resource" attribute only resolves to an icon if the absolute url path is specified, but the specification says "The base URL is assumed to be the XML file with the definition.  I.e. if the XML is a resource in the JAR file, then this URL can reference another resource in that JAR file using a relative URL." 

--
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] [Assigned] (FELIX-2868) Icon only works if absolute path specified, but specification allows for relative urls

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

Felix Meschberger reassigned FELIX-2868:
----------------------------------------

    Assignee: Felix Meschberger
    
> Icon only works if absolute path specified, but specification allows for relative urls
> --------------------------------------------------------------------------------------
>
>                 Key: FELIX-2868
>                 URL: https://issues.apache.org/jira/browse/FELIX-2868
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions: metatype-1.0.4
>         Environment: ubuntu 10.04
>            Reporter: jamie campbell
>            Assignee: Felix Meschberger
>            Priority: Minor
>
> the icon's "resource" attribute only resolves to an icon if the absolute url path is specified, but the specification says "The base URL is assumed to be the XML file with the definition.  I.e. if the XML is a resource in the JAR file, then this URL can reference another resource in that JAR file using a relative URL." 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FELIX-2868) Icon only works if absolute path specified, but specification allows for relative urls

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

jamie campbell commented on FELIX-2868:
---------------------------------------

actually I think it's worse than that.. /OSGI-INF/metatype/icon.png is an absolute path .. OSGI-INF/metatype/icon.png is a relative path.  Both work, but according to the specification, the relative path should use as its base where the "xml file with the definition" (aka metatype.xml) is.  As such, OSGI-INF/metatype/icon.png should fail to resolve because it should translate to an absolute path of /OSGI-INF/metatype/OSGI-INF/metatype/icon.png , which does not exist.

> Icon only works if absolute path specified, but specification allows for relative urls
> --------------------------------------------------------------------------------------
>
>                 Key: FELIX-2868
>                 URL: https://issues.apache.org/jira/browse/FELIX-2868
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions: metatype-1.0.4
>         Environment: ubuntu 10.04
>            Reporter: jamie campbell
>            Priority: Minor
>
> the icon's "resource" attribute only resolves to an icon if the absolute url path is specified, but the specification says "The base URL is assumed to be the XML file with the definition.  I.e. if the XML is a resource in the JAR file, then this URL can reference another resource in that JAR file using a relative URL." 

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

        

[jira] [Resolved] (FELIX-2868) Icon only works if absolute path specified, but specification allows for relative urls

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

Felix Meschberger resolved FELIX-2868.
--------------------------------------

       Resolution: Fixed
    Fix Version/s:  metatype-1.0.6

Fixed in Rev. 1187688. Now the icon path is converted into an URL using the
metatype descriptor file referring to it as the base URL (as implied by the spec)
                
> Icon only works if absolute path specified, but specification allows for relative urls
> --------------------------------------------------------------------------------------
>
>                 Key: FELIX-2868
>                 URL: https://issues.apache.org/jira/browse/FELIX-2868
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions: metatype-1.0.4
>         Environment: ubuntu 10.04
>            Reporter: jamie campbell
>            Assignee: Felix Meschberger
>            Priority: Minor
>             Fix For:  metatype-1.0.6
>
>
> the icon's "resource" attribute only resolves to an icon if the absolute url path is specified, but the specification says "The base URL is assumed to be the XML file with the definition.  I.e. if the XML is a resource in the JAR file, then this URL can reference another resource in that JAR file using a relative URL." 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira