Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving userPreferences sometimes fails with 422 status code #3007

Closed
demarant opened this issue Dec 11, 2015 · 4 comments
Closed

Saving userPreferences sometimes fails with 422 status code #3007

demarant opened this issue Dec 11, 2015 · 4 comments
Assignees
Labels
area/api kind/bug Issues that are defects reported by users or that we know have reached a real release

Comments

@demarant
Copy link

We are on:

Component   Version
Rancher     v0.49.1
Cattle  v0.121.0
User Interface  v0.71.0
Rancher Compose     v0.6.1

Issue

I want to change the default login environment. I am Admin of Rancher. I go to Manage Environments > click on another environment that is not default > in the menu click "Set as default environment"

Go back to the list of environments and see that the previous action was not applied. I retried looking at the browser network inspector and found that the PUT method returns a status code 422 (Unprocessable Entity). I would have expect an error message in the UI.

Attached the screendump of the browser (firefox 39.0), same on Chrome 47.

rancher default login environment png 1180x937

@vincent99
Copy link
Contributor

@hibooboo2 did the fix for this 422 make it in?

@demarant
Copy link
Author

tried again in v0.50.0-rc2 and issue is there as well

@hibooboo2
Copy link

No @vincent99 This was never fixed.

@will-chan will-chan added kind/bug Issues that are defects reported by users or that we know have reached a real release area/ui labels Dec 29, 2015
@will-chan will-chan added this to the Milestone 1/6/2016 milestone Dec 29, 2015
@vincent99 vincent99 added area/api and removed area/ui labels Jan 6, 2016
@vincent99 vincent99 changed the title Trying to set default login environment fails with 422 status code Saving userPreferences sometimes fails with 422 status code Jan 26, 2016
@hibooboo2 hibooboo2 assigned sangeethah and unassigned hibooboo2 Jan 28, 2016
@vincent99 vincent99 assigned tfiduccia and unassigned sangeethah Jan 29, 2016
@tfiduccia
Copy link

Version - master 1/29
Verified fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api kind/bug Issues that are defects reported by users or that we know have reached a real release
Projects
None yet
Development

No branches or pull requests

6 participants