Problem/Motivation
We are seeing a situation where the endpoint /api/1/archive/aggregate/theme/[theme_name]/relative
is somehow returning no results even though there are results, but then the 0 results get cached and it sits there returning incorrect data until the cache is cleared or expires.
It is not clear what is causing the transient 0 results in the first place, but we definitely do not want them cached.
There is a possibility that the 0 results is result of another api endpoint that looks similar but slightly different is getting cached with the same cache id as the main endpoint
In the event however that there are 0 results, we could skip caching them.
Acceptance Criteria
Testing steps
Issue fork dkan_dataset_archiver-3609969
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
swirtComment #5
swirtThis has been fixed and will go out to all three branches.