Deep clone ConfigurationService when reading defaultConfig in TestEmbeddedCamundaOptimize

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.3.0-alpha2, 2.3.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      In TestEmbeddedCamundaOptimize the config is reset using the resetConfiguration method.

      This uses `BeanUtils.copyProperties(defaultConfiguration, testOptimizeInstance.getConfigurationService())`, so non-primitives properties like lists,maps or custom classes are not reset during this process but given from one test run to another, causing side-effects based on test order.

      AT:

      • config reset uses deep clones of non-primitive properties to avoid side-effects

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: