Project

General

Profile

Feature #26162

Support preloading for load_hosts macro

Added by Ondřej Pražák 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

load_hosts macro does not support joins when loading hosts, even though the underlying load_resource does.


Related issues

Blocks Foreman - Bug #26033: Registered Hosts report: "Cannot eagerly load the polymorphic association :owner" Closed

Associated revisions

Revision 2aab2260 (diff)
Added by Ondřej Pražák 4 months ago

Fixes #26162 - Allow preload for load_hosts macro

History

#1 Updated by Ondřej Pražák 4 months ago

  • Blocks Bug #26033: Registered Hosts report: "Cannot eagerly load the polymorphic association :owner" added

#2 Updated by The Foreman Bot 4 months ago

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

#3 Updated by Tomer Brisker 4 months ago

  • Fixed in Releases 1.22.0 added

#4 Updated by Tomer Brisker 4 months ago

  • Subject changed from Support joins for load_hosts macro to Support preloading for load_hosts macro

#5 Updated by Ondřej Pražák 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF