Skip to content

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

add type attribute group attributes to cache key

ulfertsad847a3892a3
diff --git a/lib/api/v3/work_packages/schema/work_package_schema_representer.rb b/lib/api/v3/work_packages/schema/work_package_schema_representer.rb
index 0f6935096cb..fa5e3e68f43 100644
--- a/lib/api/v3/work_packages/schema/work_package_schema_representer.rb
+++ b/lib/api/v3/work_packages/schema/work_package_schema_representer.rb
@@ -304,6 +304,7 @@ module API
def form_config_attribute_representation(group)
cache_keys = ['wp_schema_attribute_group',
group.key,
+ group.attributes,
I18n.locale,
represented.project,
represented.type,