Created attachment 740388 [details] Missing org screenshot Description of problem: Using the experimental UI with nightly build, when you add a new organization, it does not get added to the Org selector immediately. If you select one of the listed organizations (i.e. ACME_Corporation) and click the Org selector again, then the new organization is listed. Version-Release number of selected component (if applicable): * candlepin-0.8.4-1.el6.noarch * candlepin-selinux-0.8.4-1.el6.noarch * candlepin-tomcat6-0.8.4-1.el6.noarch * elasticsearch-0.19.9-7.el6.noarch * katello-1.4.1-1.git.232.6fc8457.el6.noarch * katello-all-1.4.1-1.git.232.6fc8457.el6.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.4.1-1.el6.noarch * katello-cli-1.4.1-1.git.226.a7b0990.el6.noarch * katello-cli-common-1.4.1-1.git.226.a7b0990.el6.noarch * katello-common-1.4.1-1.git.232.6fc8457.el6.noarch * katello-configure-1.4.1-1.git.111.f7f9fea.el6.noarch * katello-glue-candlepin-1.4.1-1.git.232.6fc8457.el6.noarch * katello-glue-elasticsearch-1.4.1-1.git.232.6fc8457.el6.noarch * katello-glue-pulp-1.4.1-1.git.232.6fc8457.el6.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-repos-1.4.1-1.el6.noarch * katello-selinux-1.4.1-1.el6.noarch * pulp-rpm-plugins-2.1.1-0.5.1.beta.el6.noarch * pulp-selinux-2.1.1-0.5.beta.el6.noarch * pulp-server-2.1.1-0.5.beta.el6.noarch How reproducible: Steps to Reproduce: 1. Select the Manage Organizations link 2. Create a new Org 3. Click the Org selector Actual results: The new org is not listed in the Org selector Expected results: The new organization should be listed in the Org selector Additional info:
bumping up the severity of this a bit, pretty confusing and a common use case would be to create an org and want to switch to it immediately.
commit f88da37826e7e42e833e84803fc2f78f63b3f6ae Merge: 7e3178b 395cad0 Author: Walden Raines <walden> Date: Tue May 7 11:05:01 2013 -0700 Merge pull request #2187 from waldenraines/fix_org_switcher_issues Fixing #2178 by repopulating the org switcher menu each time it's opened.
Moving to ON_QA for drop 2.
VERIFIED : # rpm -qa | grep katello ruby193-rubygem-foreman-katello-engine-0.0.7-1.el6sat.noarch katello-common-1.4.2-7.el6sat.noarch katello-1.4.2-7.el6sat.noarch katello-candlepin-cert-key-pair-1.0-1.noarch ruby193-rubygem-katello_api-0.0.3-2.el6_4.noarch katello-glue-candlepin-1.4.2-7.el6sat.noarch katello-configure-foreman-1.4.3-10.el6sat.noarch katello-qpid-broker-key-pair-1.0-1.noarch katello-qpid-client-key-pair-1.0-1.noarch katello-certs-tools-1.4.2-2.el6sat.noarch katello-cli-1.4.2-6.el6sat.noarch signo-katello-0.0.12-1.el6sat.noarch katello-selinux-1.4.3-3.el6sat.noarch katello-glue-pulp-1.4.2-7.el6sat.noarch katello-all-1.4.2-7.el6sat.noarch katello-foreman-all-1.4.2-7.el6sat.noarch katello-cli-common-1.4.2-6.el6sat.noarch katello-glue-elasticsearch-1.4.2-7.el6sat.noarch katello-configure-1.4.3-10.el6sat.noarch ruby193-rubygem-katello-foreman-engine-0.0.1-1.el6_4.noarch
mass move to CLOSED:CURRENTRELEASE since MDP1 has been released.
Seeing this with latest code. * Create new organization via UI * Once you're done, click the Org dropdown widget * The new org is not displayed/listed Environment: * apr-util-ldap-1.3.9-3.el6_0.1.x86_64 * candlepin-0.9.19-1.el6_5.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.9.19-1.el6_5.noarch * candlepin-tomcat6-0.9.19-1.el6_5.noarch * elasticsearch-0.90.10-4.el6sat.noarch * foreman-1.6.0.32-1.el6sat.noarch * foreman-compute-1.6.0.32-1.el6sat.noarch * foreman-gce-1.6.0.32-1.el6sat.noarch * foreman-libvirt-1.6.0.32-1.el6sat.noarch * foreman-ovirt-1.6.0.32-1.el6sat.noarch * foreman-postgresql-1.6.0.32-1.el6sat.noarch * foreman-proxy-1.6.0.22-1.el6sat.noarch * foreman-selinux-1.6.0.3-1.el6sat.noarch * foreman-vmware-1.6.0.32-1.el6sat.noarch * katello-1.5.0-27.el6sat.noarch * katello-ca-1.0-1.noarch * katello-certs-tools-1.5.6-1.el6sat.noarch * katello-installer-0.0.56-1.el6sat.noarch * openldap-2.4.23-32.el6_4.1.x86_64 * pulp-katello-0.3-3.el6sat.noarch * pulp-nodes-common-2.4.0-0.23.beta.el6sat.noarch * pulp-nodes-parent-2.4.0-0.23.beta.el6sat.noarch * pulp-puppet-plugins-2.4.0-0.23.beta.el6sat.noarch * pulp-puppet-tools-2.4.0-0.23.beta.el6sat.noarch * pulp-rpm-plugins-2.4.0-0.23.beta.el6sat.noarch * pulp-selinux-2.4.0-0.23.beta.el6sat.noarch * pulp-server-2.4.0-0.23.beta.el6sat.noarch * python-ldap-2.3.10-1.el6.x86_64 * ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch * ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch * rubygem-hammer_cli-0.1.1-10.el6sat.noarch * rubygem-hammer_cli_foreman-0.1.1-13.el6sat.noarch * rubygem-hammer_cli_foreman_tasks-0.0.3-3.el6sat.noarch * rubygem-hammer_cli_katello-0.0.4-9.el6sat.noarch
Created attachment 922189 [details] Though organization 'DogFood' is created, it is not listed in the org selector
Work around: click the Content > Lifecycle Environment menu to re-populate the org selector.
Regression was found on build Satellite-6.0.4-RHEL-6-20140723.0
Moving to Foreman since Katello no longer has it's own org selector.
Connecting redmine issue http://projects.theforeman.org/issues/6831 from this bug
Cannot reproduce for both admin and non-admin user.
(In reply to Dustin Tsang from comment #15) > Cannot reproduce for both admin and non-admin user. I reproduced it just fine. Note that caching is only active in production mode.
Could be caching of the top menu bar in production mode.
Yes, it is. The cause and likely solution are detailed in the associated issue.
Moving to POST since upstream bug http://projects.theforeman.org/issues/6831 has been closed ------------- Dominic Cleal https://github.com/theforeman/foreman/blob/develop/app/models/taxonomy.rb#L127 is the issue, it should be (users + User.only_admin).uniq or something ------------- Anonymous Applied in changeset commit:8fabe6618b36ca3d232e8241749405ed8217c656.
Verified. Now the new org I create in UI is immediately available for me to select in the dropdown. Version Tested: GA Snap 6 - Satellite-6.0.4-RHEL-6-20140820.1 * apr-util-ldap-1.3.9-3.el6_0.1.x86_64 * candlepin-0.9.23-1.el6_5.noarch * candlepin-common-1.0.1-1.el6_5.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.9.23-1.el6_5.noarch * candlepin-tomcat6-0.9.23-1.el6_5.noarch * elasticsearch-0.90.10-6.el6sat.noarch * foreman-1.6.0.41-1.el6sat.noarch * foreman-compute-1.6.0.41-1.el6sat.noarch * foreman-gce-1.6.0.41-1.el6sat.noarch * foreman-libvirt-1.6.0.41-1.el6sat.noarch * foreman-ovirt-1.6.0.41-1.el6sat.noarch * foreman-postgresql-1.6.0.41-1.el6sat.noarch * foreman-proxy-1.6.0.29-1.el6sat.noarch * foreman-selinux-1.6.0.7-1.el6sat.noarch * foreman-vmware-1.6.0.41-1.el6sat.noarch * katello-1.5.0-29.el6sat.noarch * katello-ca-1.0-1.noarch * katello-certs-tools-1.5.6-1.el6sat.noarch * katello-installer-0.0.60-1.el6sat.noarch * openldap-2.4.23-34.el6_5.1.x86_64 * openldap-devel-2.4.23-34.el6_5.1.x86_64 * pulp-katello-0.3-3.el6sat.noarch * pulp-nodes-common-2.4.0-0.30.beta.el6sat.noarch * pulp-nodes-parent-2.4.0-0.30.beta.el6sat.noarch * pulp-puppet-plugins-2.4.0-0.30.beta.el6sat.noarch * pulp-puppet-tools-2.4.0-0.30.beta.el6sat.noarch * pulp-rpm-plugins-2.4.0-0.30.beta.el6sat.noarch * pulp-selinux-2.4.0-0.30.beta.el6sat.noarch * pulp-server-2.4.0-0.30.beta.el6sat.noarch * python-ldap-2.3.10-1.el6.x86_64 * ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch * ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch
This was delivered with Satellite 6.0 which was released on 10 September 2014.