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
Skip schedule_manually in attributes
Oliver Günther38e913cb00d1
diff --git a/app/models/type/attributes.rb b/app/models/type/attributes.rbindex 0382f52637a..ace54a7232d 100644--- a/app/models/type/attributes.rb+++ b/app/models/type/attributes.rb@@ -111,7 +111,7 @@ module Type::Attributes# * directly in other envs, e.g. testdefinitions = representable_config.key?(:definitions) ? representable_config[:definitions] : representable_config- skip = ['_type', '_dependencies', 'attribute_groups', 'links', 'parent_id', 'parent', 'description']+ skip = %w[_type _dependencies attribute_groups links parent_id parent description schedule_manually]definitions.keys.reject { |key| skip.include?(key) || definitions[key][:required] }.map { |key| [key, JSON::parse(definitions[key].to_json)] }.to_h