Add new publication generate bibtexkey fail if supplied with editor instead of author
When adding a new publication record, but giving only editor and not an author, saving the record will cause an error. If adding the same data and manually adding a bibtexkey, no problem. Assuming that the bibtexkey autogenerate only uses the author field, but there will be cases where only an editor will be given (like an edited monograph, for example).