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.
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