Project

General

Profile

Actions

Bug #20972

closed

STI issues with Host::Discovered on Rails 5

Added by Tomer Brisker over 6 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

test (and most likely other parts) fail with:

Invalid single-table inheritance type: Host::Discovered is not a subclass of Host::Managed


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #21037: "Invalid single-table inheritance type: Host::Discovered is not a subclass of Host::Managed" caused by auditing hostClosedIvan NecasActions
Blocks Foreman - Tracker #15715: Rails 5.0 upgrade tasksResolved07/18/2016

Actions
Actions #1

Updated by Tomer Brisker over 6 years ago

Actions #2

Updated by Lukas Zapletal over 6 years ago

Just for the record, this might be related (a possible fix) https://github.com/theforeman/foreman/pull/4822/files

Actions #3

Updated by Ivan Necas over 6 years ago

  • Related to Bug #21037: "Invalid single-table inheritance type: Host::Discovered is not a subclass of Host::Managed" caused by auditing host added
Actions #4

Updated by Ivan Necas over 6 years ago

The fix addressing the issue is here https://github.com/theforeman/foreman/pull/4864, once merged, we can mark this as dupe of #21037

Actions #5

Updated by Lukas Zapletal over 6 years ago

  • Status changed from New to Duplicate

Problem solved upstream.

Actions

Also available in: Atom PDF