Since v2.10 does not accept strings with a length of one character.
Is this right? Also JabRef report an error, if I try to load a bib-file containing such a "@STRING" command with one character.
It's not only loading, but also creating. To reproduce:
File -> New database
BibTeX -> Edit strings
+ (New string)
type one letter ("B" for instance)
OK
No string is created and the console output says:
Exception in thread "AWT-EventQueue-0" kava.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.String.charAt(String.java:658)
at net.sf.jabref.BibtexString$Type.get(BibtexString.java:73)
at net.sf.jabref.BibtexString.<init>(BibtexString.java:91)
at net.sf.jabref.StringDialog$NewStringAction.actionPerformed(StringDialog.java:386)
...
this is at least with v2.10b2
Last edit: Jellby 2014-09-16
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's not only loading, but also creating. To reproduce:
File -> New database
BibTeX -> Edit strings
+ (New string)
type one letter ("B" for instance)
OK
No string is created and the console output says:
this is at least with v2.10b2
Last edit: Jellby 2014-09-16
Fixed and merged. Pull request #29
https://github.com/JabRef/jabref/pull/29