[BUG ?] Managed Tag Provider - back fill mode, updateValue fail if timestamp is in the past

Ignition 8.1.44
I use a Managed tag provider for a replay module.
I have activated the FLAG_ALLOW_BACKFILL

configuration.setAttribute(TagProviderProps.FLAG_ALLOW_BACKFILL,true);

When I try to update some value with:

prov.updateValue(tagPathWithoutProvider,value,QualityCode.Good,timestamp)

or

prov.updateValue(tagPathWithoutProvider,value,QualityCode.Good_Backfill,timestamp);

with a timestamp before the current timestamp, the value is not updated. (No error logs)

When I don't provide the timestamp, the value is well updated with

prov.updateValue(tagPathWithoutProvider,value,QualityCode.Good)

I was expected with the backfill mode activated, to be able to update the value and the timestamp without any restriction ?

Backfill only allows the value to be processed by the other "actors" e.g. history; it doesn't allow the current value to be replaced with one that has an older timestamp.

1 Like

You'll probably have to implement the tag provider interface from scratch.