Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-18523

Incorrect flagging of binary vs non-binary property tree values with multiple values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: JLib
    • Labels:
      None

      Description

      If a property value is added for an existing property name, the new property incorrectly inherits the binary flag of the 1st value added, e.g:

      tree->addProp("test", "val");
      tree->addPropBin("test", mb);

      In this case test[2] is flagged as a non binary value.
      This could cause problems when the value is retrieved or when e.g. isBinary("test[2]") is called.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jakesmith Jake Smith
                Reporter:
                jakesmith Jake Smith
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: