Hi all,
to put this in advance: I’m not sure what category to use here. Yes, it happened when using the REST API via a python script, but the problem seems to be a server admin question…?
I will gladly accept any suggestions…
Here’s the problem:
we found a very strange behavior when purging WebI queries using the REST API via Python scripts (we want to run this regularly in order to follow GDPR regulations).
In some (not all!) cases, a very old (initial?) version of a report was restored.
So, e.g., a report might have been initially saved on 1/5/2023, then it got changed and overwritten several times, maybe saved for the last time on 31/12/2024. But when we ran the script, the version of 1/5/2023 would get restored.
This happened to reports that were up to three years old!
But it did not happen to all reports, and of course, we cannot check several hundred or thousand reports manually whether they were affected or not.
Now this is very puzzling, to put this mildly, for two reasons:
- Where does this old report version come from??? It is definitely not in the file repository. Is there some kind of cache that stores initial report versions?
- Even if this version exists (where ever): Why does the Platform restore the old version? There is no reason it should do so!
Even worse: Although we found the effect in several reports, it is nearly not possible to reproduce this actively! We changed an existing report and saved it, then purged it via the script, but this time, the new version remained.
We are completely lost here. Of course, this is a real showstopper as we cannot run a regular process that way.
If the solution is to regularly clear a certain cache before running the script (and that cache directory can be named!) – well not nice, but we could live with that.
Any insights would be much appreciated!
Thanks
Felix