[ https://issues.apache.org/jira/browse/KARAF-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16368873#comment-16368873 ]
Guillaume Nodet edited comment on KARAF-5601 at 2/19/18 8:44 AM: ----------------------------------------------------------------- This has been fixed in 4.2 already and can not easily be backported. was (Author: gnt): This has been fixed in 4.2 already and need to be backported. > 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 > Assignee: Guillaume Nodet > 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)