Adding items to ArrayList in a MetaMatrix UDF is not working as expected

Solution Verified - Updated -

Issue

  • We have some Virtual Procedure logic that populates a Java List with Java Map objects, but the values within these maps are being overwritten. It works fine in version 5.5.3 (unpatched)

  • Actual results:

[{BEPPI_FLD_ACTION=3, PIN_FLD_WHEN_T=3, PIN_FLD_DEAL_NAME=3, BEPPI_FLD_JOB_COST=3, BEPPI_FLD_MONTHLY_FEE_OVERRIDE=3, PIN_FLD_PACKAGE_ID=111}, {BEPPI_FLD_ACTION=3, PIN_FLD_WHEN_T=3, PIN_FLD_DEAL_NAME=3, BEPPI_FLD_JOB_COST=3, BEPPI_FLD_MONTHLY_FEE_OVERRIDE=3, PIN_FLD_PACKAGE_ID=111}, {BEPPI_FLD_ACTION=3, PIN_FLD_WHEN_T=3, PIN_FLD_DEAL_NAME=3, BEPPI_FLD_JOB_COST=3, BEPPI_FLD_MONTHLY_FEE_OVERRIDE=3, PIN_FLD_PACKAGE_ID=111}]

  • Expected results:

[{BEPPI_FLD_ACTION=1, PIN_FLD_WHEN_T=1, PIN_FLD_DEAL_NAME=1, BEPPI_FLD_JOB_COST=1, BEPPI_FLD_MONTHLY_FEE_OVERRIDE=1, PIN_FLD_PACKAGE_ID=111}, {BEPPI_FLD_ACTION=2, PIN_FLD_WHEN_T=2, PIN_FLD_DEAL_NAME=2, BEPPI_FLD_JOB_COST=2, BEPPI_FLD_MONTHLY_FEE_OVERRIDE=2, PIN_FLD_PACKAGE_ID=111}, {BEPPI_FLD_ACTION=3, PIN_FLD_WHEN_T=3, PIN_FLD_DEAL_NAME=3, BEPPI_FLD_JOB_COST=3, BEPPI_FLD_MONTHLY_FEE_OVERRIDE=3, PIN_FLD_PACKAGE_ID=111}]

Environment

  • MetaMatrix Enterprise Server 5.5.2 (Patch 0115)
  • MetaMatrix Enterprise Server 5.5.3 (Unpatched)
  • MetaMatrix User-Defined Function(UDF)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In