Red Hat Bugzilla – Bug 1273975
oc edit doesn't work on windows
Last modified: 2015-11-23 09:25:03 EST
Description of problem:
When running oc edit on a windows machine, the file is opened inside of the default editor on most (99.9%) of machines. A couple of problems:
1* the file is not wordwrapped which makes in extremely hard to edit
2* when done making changes, the file will not save with an error message that the file is already in use by another process.
Version-Release number of selected component (if applicable):
oc tool 220.127.116.11
Steps to Reproduce:
1. edit a object on windows
2. make changes
3. click save
4. see error message
File can not be saved.
Same behavior on Linux / OSX where the file is saved and applied.
Will be fixed by
I verified this issue against windows. Versions are:
The bug is fixed. oc edit can display and save the file well, like linux.
So I move the bug to VERIFIED.
This fix is available in OpenShift Enterprise 3.1.