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
https://github.com/openshift/origin-web-console/pull/2178
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
Verified in v3.7.0-0.184.0, get expected result as in bug report.