Project

General

Profile

Actions

Bug #26033

closed

Registered Hosts report: "Cannot eagerly load the polymorphic association :owner"

Added by Marek Hulán almost 6 years ago. Updated almost 5 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1673898

Description of problem:
When using any filter when generating the Registered Hosts report, the following red pop-up message is shown together with attached traceback:

"Cannot eagerly load the polymorphic association :owner".

This may or may not have been caused by fixing bug 1655628. This is a regression
because filtering worked in this report in some previous snap.

Version-Release number of selected component (if applicable):
Reproduced on Sat 6.5 snap 14.

How reproducible:
Deterministic

Steps to Reproduce:
1. Monitor -> Report Templates -> generate Registered Hosts report -> enter some filter -> Submit

Actual results:
Error message, traceback, nothing generated

Expected results:
Report generated without errors


Related issues 2 (0 open2 closed)

Blocked by Foreman - Feature #26162: Support preloading for load_hosts macroClosedOndřej PražákActions
Copied to Foreman - Bug #26467: Registered Hosts report: free text form for host search does not workClosedMarek HulánActions
Actions #1

Updated by Ondřej Pražák almost 6 years ago

  • Blocked by Feature #26162: Support preloading for load_hosts macro added
Actions #2

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/community-templates/pull/558 added
Actions #3

Updated by Anonymous almost 6 years ago

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

Updated by Marek Hulán almost 6 years ago

  • Copied to Bug #26467: Registered Hosts report: free text form for host search does not work added
Actions #5

Updated by Tomer Brisker almost 5 years ago

  • Category changed from Statistics to Reporting
Actions

Also available in: Atom PDF