Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1079157

Summary: Selecting org link under cv "tasks details" raises error 'undefined' method
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bkearney, cwelton, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/4712
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:05:33 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
error on clicking org link under task details..
none
click on 'ACME_Corporation' org link to get that error none

Description Sachin Ghai 2014-03-21 05:39:31 UTC
Created attachment 877127 [details]
error on clicking org link under task details..

Description of problem:
Selecting org link under cv tasks details raises error 'undefined' method

Warning!
undefined method `parent_taxonomy_selected_location_path' for #<#:0x0000000db427a8>

Version-Release number of selected component (if applicable):
rubygem-katello_api-0.0.8-2.el6sat.noarch
ruby193-rubygem-katello-1.5.0-22.el6sat.noarch
katello-repos-1.5.1-1.git.14.0868bd1.el6.noarch
rubygem-hammer_cli_katello-0.0.3-5.el6sat.noarch
katello-1.5.0-18.el6sat.noarch
katello-certs-tools-1.5.5-1.el6sat.noarch
katello-installer-0.0.28-1.el6sat.noarch
pulp-katello-plugins-0.2-1.el6sat.noarch
katello-ca-1.0-1.noarch
katello-apache-1.0-1.noarch
foreman-selinux-1.5.0-0.develop.el6sat.noarch
rubygem-hammer_cli_foreman-0.0.18-7.el6sat.noarch
foreman-proxy-1.5.3-1.el6sat.noarch
ruby193-rubygem-foreman-tasks-0.4.0-5.el6sat.noarch
rubygem-foreman_api-0.1.11-3.el6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.1-4.el6sat.noarch
foreman-postgresql-1.5.0.9-1.el6sat.noarch
foreman-1.5.0.9-1.el6sat.noarch
foreman-release-1.5.0-0.develop.201403182248gitdf471c7.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. create CV, promote it
2. go to  'Tasks' tab
3. click 'Promote' or 'Publish' links
4. Under task details --> Parameters --> click on org link

Actual results:
Warning!
undefined method `parent_taxonomy_selected_location_path' for #<#:0x0000000db427a8>


Expected results:
no error/warning should be raised on org selection

Additional info:

production.log says:
Processing by OrganizationsController#edit as HTML
  Parameters: {"id"=>"1"}
Deface: 1 overrides found for 'taxonomies/_form'
Deface: 'add_organization_attributes_on_edit' matched 1 times with 'code[erb-loud]:contains("text_f"):contains(":name")'
Deface: 1 overrides found for 'taxonomies/_form'
Deface: 'add_organization_attributes_on_edit' matched 1 times with 'code[erb-loud]:contains("text_f"):contains(":name")'
  Rendered taxonomies/_form.html.erb (233.7ms)
  Rendered taxonomies/edit.html.erb within layouts/application (571.8ms)
Operation FAILED: undefined method `parent_taxonomy_selected_location_path' for #<#<Class:0x0000000db39838>:0x0000000db427a8>
  Rendered common/500.html.erb within layouts/application (372.7ms)
  Rendered layouts/base.html.erb (1.7ms)
Completed 500 Internal Server Error in 1148ms (Views: 379.1ms | ActiveRecord: 9.5ms)

Comment 1 Sachin Ghai 2014-03-21 05:43:34 UTC
Created attachment 877128 [details]
click on 'ACME_Corporation' org link to get that error

Comment 2 RHEL Program Management 2014-03-21 05:44:23 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Corey Welton 2014-03-21 14:26:39 UTC
See a very similar message when clicking "Proceed to Edit" after creating an org.

Comment 5 Bryan Kearney 2014-04-01 20:46:15 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/4712 has been closed

Comment 7 Corey Welton 2014-04-02 21:01:50 UTC
QA Verified in Satellite-6.0.3-RHEL-6-20140402.3 - no longer get the taxonomy error.

Comment 8 Bryan Kearney 2014-07-02 14:05:33 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.