JabRef / JabRef/jabref

Custom field "entrytype" resets upon modification

Open
#8,917 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[outdated] type: documentation component: entry-editor status: out-of-scope
Dominant language
Java
Stars
4.7k
Forks
3.6k
Avg merge
23h 39m
Merged PRs (30d)
381

Description

Thank you @ThiloteE , here is a way to replicate the second issue using fresh library.

  1. Create a new library
  2. Go to Options -> Customize entry types
  3. Select Article and click on the drop down list. Please note that there is no Entrytype field available in the drop down list.

111

  1. Type in Entrytype and click on + button

222
333

  1. Create 2 new articles
  2. Navigate to Optional fields.

555

  1. Delete the value in Entrytype at Optional fields
  2. Select second entry and reselect first entry
  3. The Article value is back in Entrytype at Optional fields. However, it is being deleted in bibtex source.

My first guess to this issue is that there is an internal EntryType variable that does not allow user to modify it.
However, I could confirm that this second issue does not relate to #8527.
Would really appreciate if it could be moved as separate issue ticket.

Originally posted by @LIM0000 in https://github.com/JabRef/jabref/issues/8527#issuecomment-1161631732

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in Options → Customize entry types and Optional fields using the fresh-library reproduction steps. Confirm how deleting Entrytype behaves when switching between entries, then inspect the BibTeX source result. Done means a user-edited Entrytype stays changed in Optional fields and is preserved in the BibTeX source.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.