karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3364) Karaf shell command argument 'string' type handling - loosing leading zeros
Date Mon, 17 Nov 2014 12:40:34 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214608#comment-14214608
] 

Freeman Fang commented on KARAF-3364:
-------------------------------------

Hi Martin,

IIRC this is expected behavior from Gogo, it will evaluate the string as Integer|Double by
default, so if you need a exact string, quote it can avoid this  evaluation(as you already
found).

Freeman

> Karaf shell command argument 'string' type handling - loosing leading zeros
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-3364
>                 URL: https://issues.apache.org/jira/browse/KARAF-3364
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.2
>            Reporter: Martin Lichtin
>            Priority: Minor
>
> karaf <at> root()> feature:install 007
> Error executing command: No feature named '7' with version '0.0.0' available
> It seems argument-handling changes the value of a string argument.
> Workaround is to quote the value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message