openproject icon indicating copy to clipboard operation
openproject copied to clipboard

avoid error on empty workflow params

Open ulferts opened this issue 8 months ago • 1 comments

Ticket

https://community.openproject.org/wp/63514

What are you trying to accomplish?

Be robust when sending an empty work flow form.

image

In such a case, the params["status"] is not present so the call to to_unsafe_h fails.

ulferts avatar Apr 16 '25 12:04 ulferts

The failing feature spec

rspec ./spec/features/notifications/notification_center/split_screen_spec.rb:55

cannot have been caused by the change within this PR.

ulferts avatar Apr 16 '25 14:04 ulferts