Project

General

Profile

Bug #16622

ActiveRecord::StatementInvalid exception when accessing Hosts->Operating systems with restricted access

Added by Brandon Weeks over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When accessing Hosts->Operating systems using an account that can only access a subset of host groups an ActiveRecord::StatementInvalid exception is raised.

backtrace.txt backtrace.txt 30.3 KB Brandon Weeks, 09/20/2016 01:37 PM

Related issues

Related to Foreman - Bug #12193: Deadlock occuring when creating hostClosed2015-10-16

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Brandon Weeks
  • Pull request https://github.com/theforeman/foreman/pull/3863 added

#2 Updated by Brandon Weeks over 3 years ago

  • Legacy Backlogs Release (now unused) 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.

#3 Updated by Dominic Cleal over 3 years ago

  • Related to Bug #12193: Deadlock occuring when creating host added

#4 Updated by Dominic Cleal over 3 years ago

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.

#5 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 160 to 190

#6 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 190 to 203

#7 Updated by Dominic Cleal over 3 years ago

  • Status changed from Ready For Testing to Resolved
  • Legacy Backlogs Release (now unused) deleted (203)

Resolved in sclo-ror42, other installations with newer versions of Rails are unaffected.

Also available in: Atom PDF