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

Generic variable flattener plugin sample does not set variable timestamp

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • 3.4.0, 3.5.0, 3.6.0
    • 3.3.0, 3.4.0, 3.5.0, 3.6.0
    • None
    • None
    • Not defined

      Brief summary of the bug. What is it ? Where is it ?

      The current state of the complex variable flattener plugin lacks to set the timestamp property of the variable entries it creates, leading to the variables to get rejected with the following log message:

      Refuse to add variable [sampleJSONVariable.key] from variable import adapter plugin. Variable has no timestamp.
      

      https://github.com/camunda/camunda-optimize-examples/blob/master/plugins/variable-import-plugins/generic-complex-variable-flattener/src/main/java/org/camunda/optimize/examples/ComplexVariableFlattener.java

      Steps to reproduce:

      1. Build the official variable flattener plugin
      2. include it in Optimize
      3. Start Optimize connected to an engine that contains json variable updates

      Expected result:

      4. Optimize logs:

      Refuse to add variable [sampleJSONVariable.key] from variable import adapter plugin. Variable has no timestamp.
      

      5. the variables properties are not imported to Optimize

      How the product should behave when running the mentioned steps.

      The variables primitive fields should get imported successfully

        This is the controller panel for Smart Panels app

            [OPT-5721] Generic variable flattener plugin sample does not set variable timestamp

            Sebastian Bathke created issue -
            Sebastian Bathke made changes -
            Fix Version/s New: 3.6.0 [ 16894 ]
            Sebastian Bathke made changes -
            Affects Version/s New: 3.6.0 [ 16894 ]
            Affects Version/s New: 3.5.0 [ 16724 ]
            Affects Version/s New: 3.4.0 [ 16594 ]
            Affects Version/s New: 3.3.0 [ 16194 ]
            Sebastian Bathke made changes -
            Fix Version/s New: 3.5.0 [ 16724 ]
            Fix Version/s New: 3.4.0 [ 16594 ]
            Andromachi Rozaki made changes -
            Labels Original: next_release New: current_release next_release
            Andromachi Rozaki made changes -
            Labels Original: current_release next_release New: current_release
            Giuliano Rodrigues Lima made changes -
            Labels Original: current_release New: current_release next_release
            Giuliano Rodrigues Lima made changes -
            Labels Original: current_release next_release New: next_release
            Giuliano Rodrigues Lima made changes -
            Labels Original: next_release New: current_release next_release
            Giuliano Rodrigues Lima made changes -
            Labels Original: current_release next_release New: current_release

              joshua.windels Joshua Windels
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: