JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.66k stars 2.59k forks source link

Dropped invalid bib file is ignored without error message #8625

Open crystalfp opened 2 years ago

crystalfp commented 2 years ago

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

JabRef 5.6--2022-03-29--2bf53cb Windows 11 10.0 amd64 Java 17.0.2 JavaFX 18+12

Checked with the latest development build

Steps to reproduce the behaviour

  1. Create an invalid bib file with the following content:
    @Article{Centeno2022,
    author={Centeno, Eduarda Gervini Zampieri   and Moreni, Giulia  and Vriend, Chris   and Douw, Linda     and Santos, Fernando Antônio Nóbrega,
    title={A hands-on tutorial on network and topological neuroscience},
    journaltitle={Brain Structure and Function},
    date={2022-04-01},
    volume={227},
    number={3},
    pages={741--762},
    abstract={The brain is an extraordinarily complex system that facilitates the optimal integration of information from different regions to execute its functions. With the recent advances in technology, researchers can now collect enormous amounts of data from the brain using neuroimaging at different scales and from numerous modalities. With that comes the need for sophisticated tools for analysis. The field of network neuroscience has been trying to tackle these challenges, and graph theory has been one of its essential branches through the investigation of brain networks. Recently, topological data analysis has gained more attention as an alternative framework by providing a set of metrics that go beyond pairwise connections and offer improved robustness against noise. In this hands-on tutorial, our goal is to provide the computational tools to explore neuroimaging data using these frameworks and to facilitate their accessibility, data visualisation, and comprehension for newcomers to the field. We will start by giving a concise (and by no means complete) overview of the field to introduce the two frameworks and then explain how to compute both well-established and newer metrics on resting-state functional magnetic resonance imaging. We use an open-source language (Python) and provide an accompanying publicly available Jupyter Notebook that uses the 1000 Functional Connectomes Project dataset. Moreover, we would like to highlight one part of our notebook dedicated to the realistic visualisation of high order interactions in brain networks. This pipeline provides three-dimensional (3-D) plots of pairwise and higher-order interactions projected in a brain atlas, a new feature tailor-made for network neuroscience.},
    issn={1863-2661},
    doi={10.1007/s00429-021-02435-0},
    }

    You see, there is a missing closing brace after the authors.

  2. Open in JabRef a biblatex library
  3. Drag the created file and drop in JabRef.
  4. Nothing happens and no error message appears. But the library is marked modified.
  5. If I open the file instead, correctly nothing is loaded, and again there is no error message.
  6. Look at the log and there is no message.

Appendix

...

Log File ``` Paste an excerpt of your log file here ```
Siedlerchr commented 2 years ago

This refs to #8298 JabRef has different methods which are called when opening or importing. Some show errors, other not

crystalfp commented 2 years ago

Even a generic error message is better than nothing. I was looking at the given bib file and was not able to see the missing brace.