Bug 1378703 - No need to show error about editing again when bc is deleted
Summary: No need to show error about editing again when bc is deleted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-23 06:59 UTC by Yanping Zhang
Modified: 2016-12-09 21:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-09 21:50:45 UTC
Target Upstream Version:


Attachments (Terms of Use)
errorinfo.png (103.45 KB, image/png)
2016-09-23 06:59 UTC, Yanping Zhang
no flags Details

Description Yanping Zhang 2016-09-23 06:59:04 UTC
Created attachment 1203996 [details]
errorinfo.png

Description of problem:
Access bc edit page, before do any changes on web console, delete the bc in cli, 2 errors pop up on the edit page:
1: This build configuration has changed since you started editing it. You'll need to copy any changes you've made and edit again.
2: This build configuration has been deleted.
There is no need to show the first error info on the page. This error is for the scenario when access bc edit page and update bc in cli.

Version-Release number of selected component (if applicable):
openshift v1.4.0-alpha.0+8134786-dirty
kubernetes v1.4.0-beta.3+d19513f
etcd 3.0.9

How reproducible:
Always

Steps to Reproduce:
1.Create app in project
2.Access bc edit page, before do any changes on web console, delete the bc in cli. Check the error info on bc edit page.
3.

Actual results:
2.Two errors show up:
  1: This build configuration has changed since you started editing it. You'll need to copy any changes you've made and edit again.
  2: This build configuration has been deleted.

Expected results:
2.Should only show one error: This build configuration has been deleted.

Additional info:

Comment 1 openshift-github-bot 2016-09-26 12:28:17 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/94481ba236c05b66463e37b3f1f4ffcc8de2c09d
Bug 1378703: No need to show error about editing again when bc is deleted

Comment 2 Yanping Zhang 2016-10-11 07:12:30 UTC
openshift v1.4.0-alpha.0+d6a4d98
kubernetes v1.4.0+776c994
etcd 3.1.0-alpha.1
Tested against the origin version above, access edit bc page and delete the bc in cli, there will be only one error shown on page now:"This build configuration has been deleted."
The bug has been fixed, so move it to Verified.


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