Bug 1891480

Summary: Error when filtering for 'default' in Report Templates
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: ReportingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: mhulan
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-02 15:21:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
foreman-tail.log none

Description Lukáš Hellebrandt 2020-10-26 12:12:12 UTC
Description of problem:
When filtering for 'default' on the Report Templates page, I get a page with error:
```
Oops, we're sorry but something went wrong wrong number of bind variables (0 for 1) in: (["(\"templates\".\"default\" <> ?)", false])
```

Version-Release number of selected component (if applicable):
Sat 6.8 snap 19. Regression.

How reproducible:
Deterministic

Steps to Reproduce:
1. Monitor -> Report Templates
2. In the search field, fill in exactly 'default' (without quotation marks)
3. Search

Actual results:
Error

Expected results:
No error, reports filtered to only contain those with 'default' in their name. If for some reason, this input is too ambiguous to be interpreted as 'name ~ default', the error should at least be handled better.

Additional info:
IMO not a blocker.
No traceback, log attached.

Comment 1 Lukáš Hellebrandt 2020-10-26 12:13:59 UTC
Created attachment 1724146 [details]
foreman-tail.log

Comment 2 Dominik Matoulek 2020-11-05 10:07:41 UTC
Created redmine issue https://projects.theforeman.org/issues/31263 from this bug

Comment 5 Mike McCune 2022-07-08 17:15:31 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 6 Brad Buckingham 2022-09-02 20:12:48 UTC
Thank you for your interest in Red Hat Satellite. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you.