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

Carsten Ziegeler resolved FELIX-6670.
-------------------------------------
    Resolution: Fixed

> Felix Configurator cannot parse URL in values anymore
> -----------------------------------------------------
>
>                 Key: FELIX-6670
>                 URL: https://issues.apache.org/jira/browse/FELIX-6670
>             Project: Felix
>          Issue Type: Bug
>          Components: Configurator
>    Affects Versions: cm.json-2.0.2
>            Reporter: Amit Mondal
>            Priority: Major
>             Fix For: cm.json-2.0.4
>
>
> Currently, I updated the cm.json to 2.0.2 which cannot parse the existing 
> configurator JSON files anymore. 
> For example:
>  
> {code:java}
> {
>   "com.amitinside.gateway.sentry.hub" : {
>          ":configurator:policy": "force",
>          "type" : "runtime",
>          "dsn" : "https://abc.com";,
>          "clientName" : "amit"
>    }
> }
> {code}
> This cannot be parsed anymore after the update to 2.0.2 which used to work 
> perfectly in 2.0.0. It always fails with Invalid JSON from bundle://XXXXXXX.
> It fails exactly at the place where // is specified. The cm.json somehow 
> detects // in URL values as comments.
> Not sure though if it is fixed in 2.0.4. I can check when it will be 
> published to the maven central.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to