As a user of PCGen, I want some data validation upon filenames when saving characters so that I can avoid losing characters by accident.
It has happened to me a couple of times now that I have had character files "mysteriously disappear" after hours of work on them. Then I paid attention harder to the Save dialog and realized that I had character names that included nicknames, for example, Sydellion "Syd" Foxenhelfer. When saving such a character, the Save dialog is generating a file name like: Sydellion "Syd" Foxenhelfer.pcg. When I click the Save button, there is no error about an illegal filename and I think the file is saved correctly. Later on, if I exit and choose not to save, then my character is completely lost.
The workaround is, of course, to tweak the filename in the Save dialog before pressing Save. I certainly want to be about to still have characters with nicknames. But some simple validation here might save others from lost work and frustration that I have experienced.
I’d like to work on this.
There appears to be a related Github issue at
and you’ve both been given Jira access.
It looks like this is not currently a problem on 6.09 because that version does not currently suggest filenames. (Which would be awfully nice.) So I will fix on 6.08 and then work on adding suggested filenames to 6.09.