Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1481953 - Browsing capsule puppet environments, clicking on 'number of classes' leads to 'Oops something went wrong"
Summary: Browsing capsule puppet environments, clicking on 'number of classes' leads t...
Keywords:
Status: CLOSED DUPLICATE of bug 1408555
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Search
Version: 6.2.10
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-16 06:59 UTC by Ranjan Kumar
Modified: 2021-03-11 15:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-13 16:30:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ranjan Kumar 2017-08-16 06:59:04 UTC
Description of problem: Browsing capsule puppet environments, clicking on 'number of classes' leads to 'Oops something went wrong"

Version-Release number of selected component (if applicable): 6.2.10

How reproducible: Always

Steps to Reproduce:
1. In Satellite, navigate to Infrastructure -> Capsules
2. Click on a Capsule name
3. Select the Puppet tab
4. Select the Environments sub tab
5. Click on any of the numbers in the "Number of classes" column

Actual results: 

Oops, we're sorry but something went wrong Field 'environment+' not recognized for searching!

Production Log:
2017-08-16 17:56:55 235c4bc8 [app] [I] Started GET "/puppetclasses?search=environment%2B%3D%2Bexample_env" for 10.76.0.34 at 2017-08-16 17:56:55 +0530
2017-08-16 17:56:55 235c4bc8 [app] [I] Processing by PuppetclassesController#index as HTML
2017-08-16 17:56:55 235c4bc8 [app] [I]   Parameters: {"search"=>"environment+=+example_env"}
2017-08-16 17:56:55 235c4bc8 [app] [D] Setting current user thread-local variable to admin
2017-08-16 17:56:55 235c4bc8 [app] [D] Setting current organization thread-local variable to Redhat
2017-08-16 17:56:55 235c4bc8 [app] [D] Setting current location thread-local variable to none
2017-08-16 17:56:55 235c4bc8 [app] [W] Action failed
 | ScopedSearch::QueryNotSupported: Field 'environment+' not recognized for searching!
 | /opt/theforeman/tfm/root/usr/share/gems/gems/scoped_search-3.2.2/lib/scoped_search/query_builder.rb:467:in `to_single_field_sql'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/scoped_search-3.2.2/lib/scoped_search/query_builder.rb:480:in `to_sql'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/scoped_search-3.2.2/lib/scoped_search/query_builder.rb:51:in `build_find_params'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/scoped_search-3.2.2/lib/scoped_search/query_builder.rb:22:in `build_query'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/scoped_search-3.2.2/lib/scoped_search/definition.rb:255:in `block in register_named_scope!'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/scoping/named.rb:151:in `call'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/scoping/named.rb:151:in `block (2 levels) in scope'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation.rb:285:in `scoping'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/scoping/named.rb:151:in `block in scope'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:70:in `block in search_for'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation.rb:285:in `scoping'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:70:in `search_for'
 | /usr/share/foreman/app/controllers/puppetclasses_controller.rb:8:in `index'

Expected results: should list the puppet classes 


Additional info:

Comment 7 Walden Raines 2017-09-13 16:30:17 UTC
I cannot reproduce this in satellite 6.3.0, I think this is likely a duplicate of bug #1408555.  Please reopen if you are able to reproduce this on Satellite 6.3.0.

*** This bug has been marked as a duplicate of bug 1408555 ***


Note You need to log in before you can comment on or make changes to this bug.