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

Generic variable flattener plugin sample does not set variable timestamp

XMLWordPrintable

    • 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

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

                Created:
                Updated: