Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename File fails for default use case. #1498

Closed
troyfawkes opened this issue Mar 3, 2016 · 2 comments
Closed

Rename File fails for default use case. #1498

troyfawkes opened this issue Mar 3, 2016 · 2 comments
Labels
bug Weird outcome is probably not what the mod programmer expected.

Comments

@troyfawkes
Copy link

Not sure if I'm just doing something horribly wrong or the newest update (0.19) broke "RENAME".

Reproduce:

copy anyfile from 0.
rename file anyfile to othername.

Error is: File does not exist: othername________________________________

The result is that anyfile gets deleted. I tried various other naming conventions, e.g.

rename file "anyfile" to othername.
rename file anyfile.ks to othername.ks.
rename file "anyfile,ks" to "othername.ks".

etc. I actually can't get rename file to work in any situation.

The first example structure comes from the docs: http://ksp-kos.github.io/KOS_DOC/commands/files.html#rename-file-oldname-to-newname

@tomekpiotrowski
Copy link
Member

Thanks, we've confirmed this bug and are working on a fix.

@tomekpiotrowski tomekpiotrowski added the bug Weird outcome is probably not what the mod programmer expected. label Mar 3, 2016
@hvacengi
Copy link
Member

hvacengi commented Mar 3, 2016

I've submitted a PR potentially fixing the issue. @tomekpiotrowski will be testing it later today. If all goes well we'll get this fixed as part of a quick maintenance release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Weird outcome is probably not what the mod programmer expected.
Projects
None yet
Development

No branches or pull requests

3 participants