Bug 1496396 - Should not prompt "You have unsaved changes. Leave this page anyway?" when no change at all in Edit YAML page
Summary: Should not prompt "You have unsaved changes. Leave this page anyway?" when no...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.7.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-27 09:49 UTC by Xingxing Xia
Modified: 2017-10-30 12:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-30 12:07:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xingxing Xia 2017-09-27 09:49:11 UTC
Description of problem:
Should not prompt "You have unsaved changes. Leave this page anyway?" when no change at all in Edit Yaml page

Version-Release number of selected component (if applicable):
v3.7.0-0.131.0

How reproducible:
Always

Steps to Reproduce:
1. Create project, any resources (e.g. pod, bc, dc)
2. Go to resource page, click "Actions" --> "Edit YAML"
3. Do not do any thing, just click Cancel

Actual results:
3. It prompts "You have unsaved changes. Leave this page anyway?"

Expected results:
3. Should not prompt

Additional info:
Checked in v3.6 free-stg, no this problem

Comment 2 openshift-github-bot 2017-09-27 16:11:41 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/0a67e5163a49fa4c5839405fae5a36e22f6f3d97
Bug 1496396 - Don't warn on navigate when YAML isn't changed

Don't prompt the user about unsaved changes on the edit YAML page if the
user hasn't made any edits.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1496396

Comment 4 Xingxing Xia 2017-10-30 07:23:24 UTC
Verified in v3.7.0-0.184.0, get expected result as in bug report.


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