Bug 811847 - Caught "RestApi::MissingAuthorizationError in DomainsController#edit" error when changing namespace on website.
Summary: Caught "RestApi::MissingAuthorizationError in DomainsController#edit" error w...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-12 06:16 UTC by Yujie Zhang
Modified: 2015-05-15 01:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 18:31:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yujie Zhang 2012-04-12 06:16:34 UTC
Description of problem:

When I click "Change your namespace..." button on My Account page, it will catch "RestApi::MissingAuthorizationError in DomainsController#edit" error after I created a namespace.

Version-Release number of selected component (if applicable):

devenv-stage_166

How reproducible:always


Steps to Reproduce:
1.Go to openshift website and login
2.Create a namespace and try to change the namespace
3.
  
Actual results:

The following error came out:

RestApi::MissingAuthorizationError in DomainsController#edit

RestApi::MissingAuthorizationError

Rails.root: /var/www/stickshift/site
Application Trace | Framework Trace | Full Trace

app/models/rest_api/base.rb:405:in `connection'
app/models/rest_api/base.rb:436:in `find_single'
app/models/rest_api/base.rb:301:in `find'
app/controllers/domains_controller.rb:18:in `edit'

Expected results:

The name space should be changed successfully.

Additional info:

This issue also exist on devenv_1715.

Comment 1 Clayton Coleman 2012-04-12 14:07:55 UTC
A result of my changes, testing now.

Comment 2 Xiaoli Tian 2012-04-13 01:48:05 UTC
Test it on stage 2.0.9, it works now.


Note You need to log in before you can comment on or make changes to this bug.