Project

General

Profile

Actions

Bug #16622

closed

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

Added by Brandon Weeks over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
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.


Files

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

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #12193: Deadlock occuring when creating hostClosedTomer Brisker10/16/2015Actions
Actions #1

Updated by The Foreman Bot over 8 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
Actions #2

Updated by Brandon Weeks over 8 years ago

  • 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.

Actions #3

Updated by Dominic Cleal over 8 years ago

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

Updated by Dominic Cleal over 8 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.

Actions #5

Updated by Dominic Cleal about 8 years ago

  • Translation missing: en.field_release changed from 160 to 190
Actions #6

Updated by Dominic Cleal about 8 years ago

  • Translation missing: en.field_release changed from 190 to 203
Actions #7

Updated by Dominic Cleal about 8 years ago

  • 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.

Actions

Also available in: Atom PDF