Skip to content

ISI import failure related to String index out of range: -1 #3669

@elizagrames

Description

@elizagrames

JabRef version 4.1 on Ubuntu 17.04 (and also the latest master build) fails to import ISI files (saved as .txt) if the field PS has no hyphen in it. Examples to repeat the issue are below. The error is "String index out of range: -1".

Will import:

PT J
DT Article
TI Example title.
PS 201-
BP 201
EP 299
LA English
AB Example abstract text.
ER

EF

Will not import:

PT J
DT Article
TI Example title.
PS 201
BP 201
EP 299
LA English
AB Example abstract text.
ER

EF

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: import-loadgood first issueAn issue intended for project-newcomers. Varies in difficulty.status: waiting-for-feedbackThe submitter or other users need to provide more information about the issue

    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