Bug 853096

Summary: assigning default organization after user creation: "The default you supplied was the same as the old default."
Product: Red Hat Satellite Reporter: Garik Khachikyan <gkhachik>
Component: WebUIAssignee: Jason E. Rist <jrist>
Status: CLOSED UPSTREAM QA Contact: Garik Khachikyan <gkhachik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: mkoci, mmccune
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-17 15:20:21 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
logs tarball none

Description Garik Khachikyan 2012-08-30 13:59:35 UTC
Created attachment 608189 [details]
logs tarball

Description of problem:
Recent Katello UI makes impossible to assign default org for a user which is created beforehand (with no org supplied).

Version-Release number of selected component (if applicable):
candlepin-0.7.7.1-1.el6.noarch
katello-glue-candlepin-1.1.8-1.el6.noarch
pulp-common-1.1.12-1.el6.noarch
katello-selinux-1.1.1-1.el6.noarch
qpid-cpp-client-0.14-16.el6.x86_64
qpid-cpp-client-ssl-0.14-16.el6.x86_64
python-oauth2-1.5.170-2.pulp.el6.noarch
pulp-selinux-server-1.1.12-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
qpid-cpp-server-ssl-0.14-16.el6.x86_64
python-qpid-0.14-8.el6.noarch
katello-agent-1.1.2-1.el6.noarch
katello-certs-tools-1.1.8-1.el6.noarch
katello-glue-foreman-1.1.8-1.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
pulp-1.1.12-1.el6.noarch
katello-all-1.1.8-1.el6.noarch
katello-repos-1.1.2-1.el6.noarch
qpid-cpp-server-0.14-16.el6.x86_64
katello-common-1.1.8-1.el6.noarch
katello-configure-1.1.6-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
candlepin-selinux-0.7.7.1-1.el6.noarch
katello-glue-pulp-1.1.8-1.el6.noarch
candlepin-tomcat6-0.7.7.1-1.el6.noarch
katello-1.1.8-1.el6.noarch
katello-cli-common-1.1.4-1.git.12.9f57f86.el6.noarch
katello-cli-1.1.4-1.git.12.9f57f86.el6.noarch
mod_wsgi-3.3-3.pulp.el6.x86_64

How reproducible:
always.

Steps to Reproduce:
do following on UI
1. create user and leave the default_org empty
2. create an org
3. try to assign that org to the user.
  
Actual results:
failure "The default you supplied was the same as the old default."

Expected results:
no errors. User should be assigned to have the default org.

Additional info:
trackeback logs are attached.

Comment 2 Mike McCune 2012-10-17 15:20:21 UTC
this is working now in the latest Katello.  Closing and feel free to re-open if it re-occurs

Comment 3 Mike McCune 2013-08-16 18:08:21 UTC
getting rid of 6.0.0 version since that doesn't exist