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

Deep clone ConfigurationService when reading defaultConfig in TestEmbeddedCamundaOptimize

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 2.3.0-alpha2, 2.3.0
    • None
    • backend
    • None

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce