Skip to content

Commit

Permalink
Merge pull request #2209 from AmilaSamith/registry-res-api-fix
Browse files Browse the repository at this point in the history
Fix for issue with Registry Resource Value Updates through REST API Calls
  • Loading branch information
AmilaSamith authored Aug 12, 2024
2 parents 3e4abd9 + c353fab commit a1f4160
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ public Object getResource(Entry entry, Properties properties) {
log.debug("Cached object has expired for key : " + entry.getKey());
}
re = getRegistryEntry(entry.getKey());
// reload the properties since the cache is expired
entry.setEntryProperties(getResourceProperties(entry.getKey()));

if (re.getVersion() != Long.MIN_VALUE &&
re.getVersion() == entry.getVersion()) {
Expand Down

0 comments on commit a1f4160

Please sign in to comment.