Uploaded image for project: 'TorqueBox'
  1. TorqueBox
  2. TORQUE-739

Component configuration involving arrays don't survive full transfer to components when using torquebox.rb DSL

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 2.0.0.CR1
    • 2.0.0
    • Jobs
    • None

    Description

      When providing an array config via torquebox.rb, the underlying RubyArray doesn't survive throwing to a different Ruby runtime in-tact.

      Just as we convert ruby Hash to java HashMap for the dash across runtimes, so must we convert Array to ArrayList. Recursively.

      config do
        some_array [ 'one', 'two' ]
      end
      

      Attachments

        Activity

          People

            bmcwhirt@redhat.com Bob McWhirter (Inactive)
            bmcwhirt@redhat.com Bob McWhirter (Inactive)
            Archiver:
            samahaja@redhat.com Sagar Mahajan

            Dates

              Created:
              Updated:
              Resolved:
              Archived: