Bug #16622
closed
ActiveRecord::StatementInvalid exception when accessing Hosts->Operating systems with restricted access
Added by Brandon Weeks about 8 years ago.
Updated about 8 years ago.
Description
When accessing Hosts->Operating systems using an account that can only access a subset of host groups an ActiveRecord::StatementInvalid exception is raised.
Files
- Status changed from New to Ready For Testing
- Assignee set to Brandon Weeks
- Pull request https://github.com/theforeman/foreman/pull/3863 added
- Translation missing: en.field_release set to 160
Setting the release to 1.13.0 since I think this should get cherry-picked before release. Let me know if I'm doing it wrong Dominic.
- Related to Bug #12193: Deadlock occuring when creating host added
Since this only affects RoR < 4.2.7, I've patched sclo-ror42-rubygem-activerecord to fix the issue too. The update (-4) should be in the centos-sclo-sclo-testing repo within 24h.
- Translation missing: en.field_release changed from 160 to 190
- Translation missing: en.field_release changed from 190 to 203
- Status changed from Ready For Testing to Resolved
- Translation missing: en.field_release deleted (
203)
Resolved in sclo-ror42, other installations with newer versions of Rails are unaffected.
Also available in: Atom
PDF