Description of problem:
There's a list of safemode macros usable in report templates. There is no mention of the load_pools macro. However, report 'Subscription - General Report' shows this macro indeed works.
Furthermore, there is load_hosts macro listed twice.
Version-Release number of selected component (if applicable):
Sat 6.8 snap 4.0
Steps to Reproduce:
1. Monitoring -> Report Templates -> Subscription - General Report
2. Check there is the load_pools macro used
3. Go to Help tab
There is no mention of the load_pools macro. There is load_hosts macro listed twice.
The macro should be documentad, like others. The load_hosts macro should only be listed once.
Created redmine issue https://projects.theforeman.org/issues/30196 from this bug
Upstream bug assigned to dmatoule
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30296 has been resolved.
I considered these fixes to be easy enough to be in one BZ but I have no problem with splitting it. Let's keeps this BZ for the load_pools macro then.
The load_hosts macro issue reported as bug 1859194.
Thanks Lukas, moving back to modified. In this case, since they are fixed in separate projects, its better to have separate bzs.
Verified with Sat 6.8 snap 15.
Used reproducer from OP, there is now load_pools macro in the list and the macro works.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.