Project

General

Profile

Actions

Bug #24486

closed

Using has_many :through before the through association is defined interferes with scoped search

Added by Ondřej Pražák over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Search
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Scoped search complains when we use through association before it is defined:

Cannot have a has_many :through association 'Report#sources' which goes through 'Report#logs' before the through association is defined.

Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5890 added
Actions #2

Updated by Marek Hulán over 5 years ago

  • Target version set to 1.20.0
  • Fixed in Releases 1.20.0 added
Actions #3

Updated by Ondřej Pražák over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Tomer Brisker over 5 years ago

  • Category set to Search
Actions

Also available in: Atom PDF