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

notify handler's updateItems function shifts the order of select items

    XMLWordPrintable

    Details

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

      Description

      During delete of a select item, the function moves the item at the end of the array to the deleted item's position. So if the following operations are done within the same update cycle, an already-exists-error will happen, because after deleting A, add(B) will come in front of delete(B).

      delete(A), delete(B), add(A), add(B)

      To fix it, all deletes should be done before adds.

        Attachments

          Activity

            People

            • Assignee:
              mckellyln Mark Kelly
              Reporter:
              mayx Yanrui Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: