foreman icon indicating copy to clipboard operation
foreman copied to clipboard

Fixes #37341 - catch exception if host parameter can not be rendered

Open sbernhard opened this issue 1 year ago • 3 comments

See https://projects.theforeman.org/issues/37341#note-1 for the reproducer rescue blocks catches exception if safemode is 'on' and if 'off'

sbernhard avatar Apr 10 '24 17:04 sbernhard

[test katello]

sbernhard avatar Apr 10 '24 18:04 sbernhard

[test unit]

sbernhard avatar Apr 10 '24 21:04 sbernhard

Looks like, the bug was introduced with https://github.com/theforeman/foreman/commit/c8236d240fbe4f962264bef391ebe86b708a6beb @nadjaheitmann - maybe you want tor review this?

sbernhard avatar Apr 12 '24 09:04 sbernhard