mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Do not validate custom fields when executing a custom action.
This commit is contained in:
@@ -42,9 +42,6 @@ class CustomActions::UpdateWorkPackageService
|
||||
end
|
||||
|
||||
def call(work_package:, &)
|
||||
# Activate all custom field validations because by default
|
||||
# no custom fields are validated on existing work packages
|
||||
work_package.activate_custom_field_validations!
|
||||
apply_actions(work_package, action.actions)
|
||||
|
||||
result = ::WorkPackages::UpdateService
|
||||
|
||||
Reference in New Issue
Block a user