You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/08/11 15:41:13 UTC

[jira] [Resolved] (HTTPCLIENT-1537) metatype.xml definition is wrong for httpclient-osgi

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

Oleg Kalnichevski resolved HTTPCLIENT-1537.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.4 Alpha2
                   4.3.6

Fixed in SVN trunk and 4.3.x branch.

Oleg

> metatype.xml definition is wrong for httpclient-osgi
> ----------------------------------------------------
>
>                 Key: HTTPCLIENT-1537
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1537
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.4
>         Environment: OSGi container
>            Reporter: Cliff Collins
>             Fix For: 4.3.6, 4.4 Alpha2
>
>
> OSGi containers that read the metatype.xml information report the format as being incorrect :
> Error while loading initial configuration to CM. Problem at attribute: proxy.port
>  java.lang.IllegalArgumentException: Value:  does not fit its type!
> This is because the proxy port says it is a type Integer but the default value is "". Change this to a number to fix. i.e.
>     <AD id="proxy.port"
>       type="Integer"
>       default="80"
>       name="%proxy.port.name"
>       description="%proxy.port.description" />



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org