Bug #30997
Operatingsystem icon returns always img_tag if OS familiy icon is missing
Pull request:
Fixed in Releases:
Found in Releases:
Description
In one edge case (No OS family) we don't return image_path or img_tag depending on caller, but always img_tag.
in `app/helpers/operatingsystems_helper.rb`
Associated revisions
History
#1
Updated by The Foreman Bot 4 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8045 added
#2
Updated by The Foreman Bot 4 months ago
- Fixed in Releases 2.3.0 added
#3
Updated by Ondřej Ezr 4 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|70dab3f71bce44cb0e4100205607dc7fcd967087.
Fixes #30997 - allow image_path in all cases
Fix return value in blank icon edge case.