Bug 1152238
Summary: | Nested location are not shown as nested | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sergio Ocón-Cárdenas <soconcar> | ||||||||||||||
Component: | WebUI | Assignee: | Brad Buckingham <bbuckingham> | ||||||||||||||
WebUI sub component: | Katello | QA Contact: | Tazim Kolhar <tkolhar> | ||||||||||||||
Status: | CLOSED ERRATA | Docs Contact: | |||||||||||||||
Severity: | medium | ||||||||||||||||
Priority: | medium | CC: | bbuckingham, bkearney, chrobert, cwelton, dcleal, kabbott, soconcar, sthirugn, tkolhar | ||||||||||||||
Version: | 6.0.4 | Keywords: | Triaged | ||||||||||||||
Target Milestone: | Unspecified | ||||||||||||||||
Target Release: | Unused | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
URL: | http://projects.theforeman.org/issues/8087 | ||||||||||||||||
Whiteboard: | |||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2015-08-12 05:17:59 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
Sergio Ocón-Cárdenas
2014-10-13 16:38:53 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. Created attachment 947605 [details]
screenshot of location edit
I can't reproduce. The location edit shows the parent ("France") as both a dropdown for editing, in the heading, the title bar and on the index page.
Adding screenshots of lastest installation of Sat 6: - Location - Button to create a nested location - Information about nested location No parent information in this version Created attachment 947621 [details]
Parent location
Created attachment 947622 [details]
Create a nested location
Created attachment 947623 [details]
Creating a nested location
Created attachment 947624 [details]
Options in the nested location
It appears to be caused by Katello hiding the parent select box on both locations and organisation pages, while it only intends to hide it on orgs. $ cat app/overrides/add_organization_attributes.rb # Remove Parent select box from org Deface::Override.new(:virtual_path => "taxonomies/_step1", :name => "remove_parent_organization_on_create", :remove => 'code[erb-loud]:contains("select_f"):contains(":parent")' ) Deface::Override.new(:virtual_path => "taxonomies/_form", :name => "remove_parent_organization_on_edit", :remove => 'code[erb-loud]:contains("select_f"):contains(":parent")' ) taxonomies/_form and _step1 are used by both models, not just organisations, so it's having a wider effect than (probably) intended. Created redmine issue http://projects.theforeman.org/issues/8087 from this bug Proposed fix in: https://github.com/Katello/katello/pull/4763 VERIFIED: *** This bug is verified in upstream. This fix should eventually land in future downstream builds *** Version Tested: # rpm -qa | grep foreman foreman-compute-1.8.0-0.develop.201412040955git563fa28.el7.noarch ruby193-rubygem-foreman_discovery-1.4.1-1.el7.noarch foreman-selinux-1.8.0-0.develop.201411281557gitf4a857f.el7.noarch foreman-libvirt-1.8.0-0.develop.201412040955git563fa28.el7.noarch ruby193-rubygem-foreman_bootdisk-4.0.2-1.el7.noarch rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch foreman-ovirt-1.8.0-0.develop.201412040955git563fa28.el7.noarch ruby193-rubygem-foreman_hooks-0.3.7-2.el7.noarch foreman-postgresql-1.8.0-0.develop.201412040955git563fa28.el7.noarch foreman-gce-1.8.0-0.develop.201412040955git563fa28.el7.noarch foreman-vmware-1.8.0-0.develop.201412040955git563fa28.el7.noarch ruby193-rubygem-foreman-tasks-0.6.9-1.el7.noarch foreman-proxy-1.8.0-0.develop.201411261259git6ddd00d.el7.noarch ibm-x3550m3-07.lab.eng.brq.redhat.com-foreman-proxy-1.0-1.noarch ruby193-rubygem-foreman_docker-0.2.0-2.el7.noarch rubygem-hammer_cli_foreman-0.1.3-1.201411121216git9381fc5.el7.noarch foreman-1.8.0-0.develop.201412040955git563fa28.el7.noarch ibm-x3550m3-07.lab.eng.brq.redhat.com-foreman-client-1.0-1.noarch foreman-release-1.8.0-0.develop.201412040955git563fa28.el7.noarch screen shot attached Created attachment 965119 [details]
Nested Location
*** Bug 1175775 has been marked as a duplicate of this bug. *** This bug is slated to be released with Satellite 6.1. 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592 |