OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Include version in cache key for CachedRepresenter so that cache is properly invalidatd
Klaus Zanderse863c603e50c
diff --git a/lib/api/caching/cached_representer.rb b/lib/api/caching/cached_representer.rbindex a5959bd91ac..5c3b591ebd5 100644--- a/lib/api/caching/cached_representer.rb+++ b/lib/api/caching/cached_representer.rb@@ -190,7 +190,7 @@ module APIcacheable << json_key_parts_of_representedcacheable << json_key_dependencies- OpenProject::Cache::CacheKey.expand(cacheable.flatten.compact)+ OpenProject::Cache::CacheKey.expand(OpenProject::Cache::CacheKey.key(cacheable.flatten.compact))enddef json_key_part_represented