-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.16.z, 6.17.0
-
Phoenix - Content
-
False
-
None
-
None
-
None
-
None
Description of problem: ForemanTasks controller autocomplete filter is not working specially if use organization_id along with search query
How reproducible: Always in 6.17.0
Is this issue a regression from an earlier version:
Steps to Reproduce:
1. Create a 2 different organizations
example:
- hammer organization list
{}{}|{}{}---------------{}{}{}|{}{}{}--------------{}{}{}|{}{}{}-----{}{}{}|{}{}{}-----------------
ID | TITLE | NAME | DESCRIPTION | LABEL
{}{}|{}{}---------------{}{}{}|{}{}{}--------------{}{}{}|{}{}{}-----{}{}{}|{}{}{}-----------------
1 | Default Organization | Default Organization | | Default_Organization
5 | qlFvsNIPOIB | qlFvsNIPOIB | | qlFvsNIPOIB
7 | wNGXqXSoI | wNGXqXSoI | | wNGXqXSoI
{}{}|{}{}---------------{}{}{}|{}{}{}--------------{}{}{}|{}{}{}-----{}{}{}|{}{}{}-----------------
2. Create a product, a repository and sync it on each of the orgs.
3. For any of organization, navigate to Monitor > Satellite Tasks > Tasks and
4. Search for a query using filter "Metadata generate organization_id = 5"
Actual behavior:
Task table shows all the Actions across the organization.
Expected behavior:
Task table should show only Actions from "qlFvsNIPOIB" organization whos org_id=5
Business Impact / Additional info:
- Attached screenshot-1 showing all tasks from all the organization
Search query - Metadata generate organization_id = 5 - Attached screenshot-2 showsing only tasks from specific org
Search query - Metadata generate organization ' wNGXqXSoI'