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

[#66093] insert TODO for api error messages

Tobias Dillmann8529f4eb56da
diff --git a/lib/api/v3/utilities/custom_field_injector.rb b/lib/api/v3/utilities/custom_field_injector.rb
index 8a0d2fcce96..cd6cb8a85a0 100644
--- a/lib/api/v3/utilities/custom_field_injector.rb
+++ b/lib/api/v3/utilities/custom_field_injector.rb
@@ -269,6 +269,9 @@ module API
end
def inject_property_value(custom_field, config)
+ # TODO: inject calculated value error message somewhere around here as a sibling of this property.
+ # customField20Errors: [{ error_code: "MISSING_VALUE", error_message: "message"}, {...}]
+
@class.property custom_field.attribute_name.to_sym,
as: property_name(custom_field),
getter: property_value_getter_for(custom_field),