Skip to content

Empty field not checked in dialog for creation of keyword-search groups #6108

@ytzemih

Description

@ytzemih

JabRef 5.1--2020-03-12--23034ce
Linux 5.4.19-050419-generic amd64
Java 13.0.2

Steps to reproduce the behavior:

  1. Create a group of type searching for keywords
  2. Leave Fieldempty and add some keyword to Keyword
  3. When adding an entry to the group by drag-n-drop, JabRef generates a key-value pair with an empty key without any notification.

My expectations would have been, e.g. to (i) let the user know that field needs to be assigned some content, such as keywords or group, (ii) to make this field a drop-down textfield with a default value, (iii) or at least checking for !key.isEmpty() when generating the BibTeX entry. BibTeX will produce errors when running into malformed key-value pairs.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions