Bug 1295620 - UI submits all template objects to v1 API, regardless of object API version
Summary: UI submits all template objects to v1 API, regardless of object API version
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On: 1261076
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-05 03:02 UTC by Yadan Pei
Modified: 2016-01-05 05:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1261076
Environment:
Last Closed: 2016-01-05 05:12:42 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yadan Pei 2016-01-05 03:02:16 UTC
+++ This bug was initially created as a clone of Bug #1261076 +++

Description of problem:

Cloned from https://github.com/openshift/origin/issues/4410 to add QE test cases.

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


How reproducible:
Always

Steps to Reproduce:
1. Create a template containing v1beta3 object definitions
2. Load the template into the API
3. In the web UI, create from the template

Actual results:
An API error is returned: "Cannot create object... the apiVersion does not match"

Expected results:
Object is created successfully.

Additional info:

--- Additional comment from Jordan Liggitt on 2015-09-08 10:12:39 EDT ---

Fixed in https://github.com/openshift/origin/pull/4545

--- Additional comment from  on 2015-09-09 06:00:41 EDT ---

QE added one test case https://goo.gl/rEc12o 

Tested on devenv_fedora_2304, it works well

Comment 1 Yadan Pei 2016-01-05 03:03:57 UTC
fixed not merged to OSE 3.1.1

openshift v3.1.1.0
kubernetes v1.1.0-origin-1107-g4c8e6f4
etcd 2.1.2

Comment 2 Jordan Liggitt 2016-01-05 04:24:29 UTC
v1beta3 is no longer supported in 3.1
a test case that uses v1beta3 is no longer valid

Comment 3 Yadan Pei 2016-01-05 05:12:42 UTC
thanks and I will close this issue


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