Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2987

Improve 'has node' check in ObjectConverter

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.28.02
    • 2.28.03
    • None
    • None

    Description

      The object converter checks for the existence of a child node by first doing a hasNode check, and then fetching the node via getNode. This can fail when there's a lot of concurrency, and after a succesful hasNode check the node gets removed by another thread before getNode is executed.

      Instead, the child node should be fetched only once.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            mdenburger Mathijs den Burger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: