Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1605

Deep clone ConfigurationService when reading defaultConfig in TestEmbeddedCamundaOptimize

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.3.0-alpha2, 2.3.0
    • None
    • 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

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: