question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not possible to change or create custom fields in "{} biblatex source" tab

See original GitHub issue

JabRef version

Latest development branch build (please note build date below)

Operating system

GNU / Linux

Details on version and operating system

JabRef 100.0.0 Linux 5.4.0-113-generic amd64 Java 18.0.1 JavaFX unknown

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Go to {} biblatex source tab
  2. Try to add a new custom field e.g. whatever = {whatevernot},
  3. Switch to a new tab or select another entry in the maintable
  4. Switch back to {} biblatex source tab

What happens:

New custom entry has not remained. It has vanished.

Additional info:

  • It is possible to change whatever is WITHIN a field (withing the curly braces { }).
  • Changing anything OUTSIDE of a field is not possible anymore and will be deleted upon switching. E.g. changing the field title by typing date will lead to vanishing.

Cause: I tested some recent commits and found it was caused by 7257350b60427fbd6ee5b6f65641fe912ae8e78a

What to do:

Not sure. We have the choice between pest and cholera.

  • Revert: We gain the feature back, but we also got an indexoutofbounds issue.
  • Have commit: Fixes an index out of bounds issue, but we loose the feature.
    • Also it is still possible to create customized fields. Very lengthy workarounds:
      • Fields can be created under options > customize entry types
      • Customized Fields can be edited directly in the library file (via texteditors) and imported into JabRef

Appendix

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
LIM0000commented, May 30, 2022

Hi team, I have done some researches on this issue again and would like to share my findings here.

After digging much deeper of this issue, I have found that the cause of UnsupportedOperationExpection is due to inconsistency of modifying ObservableMap from FXCollections. For some reason, only the steps to reproduce issue in https://github.com/JabRef/jabref/issues/8012 trigger ObservableMap to be immutable and throw exception if any methods try to modify it.

000

Both remove() and put() which modifies the ObservableMap. If immutable, both the methods will throw exception.

111 222

Additional information: Apologize that I have to raise my findings from technical perspective here instead of creating a new PR as I could not find a solution for this issue just yet.

0reactions
ThiloteEcommented, Jun 7, 2022

Closing this issue, as the commit was reverted.

Read more comments on GitHub >

github_iconTop Results From Across the Web

biblatex: custom fields are not shown - LaTeX Stack Exchange
I'm trying to add a new entry type with new fields to biblatex. But the fields are not added to the bbl (and...
Read more >
Changing default fields in entry editor - Help - Forum - JabRef
I fear that is currently not possible. You can modify the fields that appear in the “Required fields” tab (or “Optional fields”). When...
Read more >
The biblatex Package - CTAN
1.1 About biblatex. This package provides advanced bibliographic facilities for use with LaTeX. The package is a complete reimplementation ...
Read more >
Hidden preferences :: Better BibTeX for Zotero - retorque.re
Hidden preferences. The Better BibTeX Configuration can be found under the regular Zotero preferences pane, tab 'Better BibTeX'. The configuration of Better ...
Read more >
Making a .bib file with JabRef - IT Help Desk - Reed College
If not, export your existing bibliography into BibTeX format. ... Click OK. We're going to add an undergradthesis entry type (source format) to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found