Bug #11437
closed
"Can't modify frozen Array" error on frozen arrays in select list
Added by Shlomi Zadok over 9 years ago.
Updated over 6 years ago.
Description
Detected when used with Date::DAYNAMES which is locked since ruby 1.8.6
Since #9591 with commit, select_f method is adding the include_blank option on top of the array.
If the array is locked, this will raise "Can't modify frozen Array" error
What does this impact precisely? Is it a plugin? I can't see any use of Date::DAYNAMES in Foreman.
- Related to Bug #9591: Override puppet configuration on host level does not work if specified on host group added
- Assignee set to Shimon Shtein
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2625 added
- Pull request deleted (
)
- Status changed from Ready For Testing to New
- Assignee deleted (
Shimon Shtein)
- Pull request added
- Pull request deleted (
https://github.com/theforeman/foreman/pull/2625)
It impacts a plugin (though a workaround has been applied), yet it may affect also Foreman core if we'd ever use a frozen array
- Status changed from New to Ready For Testing
- Assignee set to Shimon Shtein
- Pull request https://github.com/theforeman/foreman/pull/2625 added
- Pull request deleted (
)
- Category set to Web Interface
- Translation missing: en.field_release set to 72
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release changed from 72 to 63
Also available in: Atom
PDF