Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5601

Array values in configurations are printed as pointer addresses when using shell commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 4.1.4
    • None
    • karaf
    • None
    • OS X El Capitan 10.11.6

    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: 

      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
      

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            steve.lombardi Steven Lombardi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: