You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support a dataLocation parameter to get info for local, remote (harvested), or all datasets. However, the caching doesn't handle the parameter. Thus, whichever call is made first is cached and served as the response regardless of whether the parameter is different the next time. A partial workaround is to clear the cache before making a call.
A fix would involve adding the param value (after sanitizing) to the metricName being cached so that values for all three options are cached separately.
When does this issue occur?
Metrics API
Which version of Dataverse are you using?
develop/6.1+
The text was updated successfully, but these errors were encountered:
The dataset related calls in
dataverse/src/main/java/edu/harvard/iq/dataverse/api/Metrics.java
Lines 193 to 313 in 1dd5fa4
A fix would involve adding the param value (after sanitizing) to the metricName being cached so that values for all three options are cached separately.
Metrics API
Which version of Dataverse are you using?
develop/6.1+
The text was updated successfully, but these errors were encountered: