Custom field "entrytype" resets upon modification
Nobody has claimed this yet.
- 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.
- Create a new library
- Go to
Options->Customize entry types - Select
Articleand click on the drop down list. Please note that there is noEntrytypefield available in the drop down list.

- Type in
Entrytypeand click on + button


- Create 2 new articles
- Navigate to
Optional fields.

- Delete the value in
EntrytypeatOptional fields - Select second entry and reselect first entry
- The
Articlevalue is back inEntrytypeatOptional 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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