Skip to content

source-code-edit breaks file if containing {} #4256

@JoKalliauer

Description

@JoKalliauer

JabRef 5.0-dev--snapshot--2018-07-12--master--dd9b22911
Linux 4.15.0-30-generic amd64
Java 1.8.0_181

Steps to reproduce:

  1. Open JabRefBug.bib.txt
@Article{brown2015tools,
  author    = {Brown, Alan and Long, Fei and Nicholls, Robert A. and Toots, Jaan and Emsley, Paul and Murshudov, Garib},
  title     = {{Tools for macromolecular model building and refinement into electron cryo-microscopy reconstructions}},
  journal   = {Acta Crystallographica, Section D: Biological Crystallography},
  year      = {2015},
  volume    = {71},
  number    = {1},
  pages     = {136--153},
  month     = jan,
  doi       = {10.1107/S1399004714021683},
  file      = {:..\\..\\Literature\\DNA\\Weitere\\Brown_Long_Nicholls_Toots_Emsley_Murshudov_2015_ActaCrystallographicaSectionDBiologicalCrystallography.pdf:PDF},
  groups    = {DNA, Electron Density},
  keywords  = {model building, refinement, electron cryo-microscopy reconstructions, LIBG, rank2},
  publisher = {International Union of Crystallography},
}
  1. goto source-code
    screenshot from 2018-08-10 10-39-37
  2. Delete in the title one of the "{{"
    screenshot from 2018-08-10 10-39-54
  3. File ruined JabRefBug3.bib.txt
@Article{brown2015tools,
  author   = {Brown, Alan and Long, Fei and Nicholls, Robert A. and Toots, Jaan and Emsley, Paul and Murshudov, Garib},
  title    = {Tools for macromolecular model building and refinement into electron cryo-microscopy reconstructions},
  keywords = {rank2},
}

screenshot from 2018-08-10 10-52-14

Log:

Opening: /home/jkalliau/Desktop/JabRefBug.bib
Fix SSL exceptions by accepting ALL certificates

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions