Skip to content

ooplugin: it shouldn't be permitted to cite a publication that doesn't yet have a bibtex key #1682

@jdpipe

Description

@jdpipe

When using Jabref with LibreOffice, I can insert a reference to an entry before assign a bibtexkey to the entry. When I do so, I get "[??]" in my document. If I then click the refresh (circular arrow) icon in the ooplugin sidebar, then I get a popup message in Jabref saying "your OpenOffice/LibreOffice document references the BibTexKey 'null', which could not be found in the current database".

I think it would be more helpful if such citations were barred from being inserted in the first place, since that is the best time for the user to fix the problem. Later they can only wonder pointlessly what the [??] was referring to.

Better still, a BibTexKey could auto-generated (and again every following time, if the user desired it)

"You are citing a publication with an empty BibTexKey. A key will automatically generated [OK] [Cancel] [x] always do this in future"

Version:
JabRef 3.6dev--snapshot--2016-07-29--extractoobibdatabase--fba22d9
linux 4.4.0-31-generic amd64
Java 1.8.0_91

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions