[
https://issues.apache.org/jira/browse/KARAF-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steven Lombardi updated KARAF-5601:
-----------------------------------
Description:
To reproduce:
* Start editing any configuration with an array-valued property using
{{config:edit}}
* Run {{config:property-list}} and notice that the array does not print
correctly
* Run {{config:property-get}} for the name of the array-valued property and
notice the array does not print correctly
Example:
{code:java}
admin@root()> config:property-list
customMimeTypes = [Ljava.lang.String;@2b1de817
felix.fileinstall.filename =
file:/Users/lambeaux/Connexta/instances/ddf-2.11.5-SNAPSHOT/etc/DDF_Custom_Mime_Type_Resolver-xml.config
name = XML Metacard Content Resolver
priority = 10
schema = urn:catalog:metacard
service.factoryPid = DDF_Custom_Mime_Type_Resolver
service.pid =
DDF_Custom_Mime_Type_Resolver.e12a9162-e152-4a2d-bc7e-537d3621eac7
admin@root()> config:property-get priority
10
admin@root()> config:property-get schema
urn:catalog:metacard
admin@root()> config:property-get name
XML Metacard Content Resolver
admin@root()> config:property-get customMimeTypes
[Ljava.lang.String;@2b1de817
{code}
was:
To reproduce:
* Start editing any configuration with an array-valued property using
{{config:edit}}
* Run {{config:property-list}} and notice that the array does not print
correctly
* Run {{config:property-get}} for the name of the array-valued property and
notice the array does not print correctly
Example:
{code:java}
// code placeholder
{code}
> Array values in configurations are printed as pointer addresses when using
> shell commands
> -----------------------------------------------------------------------------------------
>
> Key: KARAF-5601
> URL: https://issues.apache.org/jira/browse/KARAF-5601
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 4.1.4
> Environment: OS X El Capitan 10.11.6
> Reporter: Steven Lombardi
> Priority: Minor
>
> To reproduce:
> * Start editing any configuration with an array-valued property using
> {{config:edit}}
> * Run {{config:property-list}} and notice that the array does not print
> correctly
> * Run {{config:property-get}} for the name of the array-valued property and
> notice the array does not print correctly
> Example:
> {code:java}
> admin@root()> config:property-list
> customMimeTypes = [Ljava.lang.String;@2b1de817
> felix.fileinstall.filename =
> file:/Users/lambeaux/Connexta/instances/ddf-2.11.5-SNAPSHOT/etc/DDF_Custom_Mime_Type_Resolver-xml.config
>
> name = XML Metacard Content Resolver
> priority = 10
> schema = urn:catalog:metacard
> service.factoryPid = DDF_Custom_Mime_Type_Resolver
> service.pid =
> DDF_Custom_Mime_Type_Resolver.e12a9162-e152-4a2d-bc7e-537d3621eac7
> admin@root()> config:property-get priority
> 10
> admin@root()> config:property-get schema
> urn:catalog:metacard
> admin@root()> config:property-get name
> XML Metacard Content Resolver
> admin@root()> config:property-get customMimeTypes
> [Ljava.lang.String;@2b1de817
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)