Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom field "entrytype" resets upon modification #8917

Open
ThiloteE opened this issue Jun 21, 2022 · 2 comments
Open

Custom field "entrytype" resets upon modification #8917

ThiloteE opened this issue Jun 21, 2022 · 2 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs entry-editor status: wontfix Bugs or suggestions that we are not able to fix or don't have the resource to implement. type: documentation

Comments

@ThiloteE
Copy link
Member

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 #8527 (comment)

@ThiloteE ThiloteE changed the title Custom entry field "entrytype" resets upon modification Custom field "entrytype" resets upon modification Jun 21, 2022
@ThiloteE ThiloteE added bug Confirmed bugs or reports that are very likely to be bugs entry-editor labels Jun 21, 2022
@ThiloteE
Copy link
Member Author

ThiloteE commented Jun 21, 2022

JabRef 5.7--2022-06-15--cb5fe60
Linux 5.4.0-120-generic amd64
Java 18.0.1
JavaFX unknown

I was able to reproduce by following your steps and creating custom field called entrytype.
I was NOT able to reproduce by creating a custom field called Xyz or Aaaaa.

It did not matter if set as optional field or required field.

So you might be right with

My first guess to this issue is that there is an internal EntryType variable that does not allow user to modify it.

@ThiloteE
Copy link
Member Author

ThiloteE commented Jun 21, 2022

I would suggest to treat this issue with low priority, as this seems to be a severe edge case and a workaround exist:

Workaround:

Simply rename the custom field entrytype to something else. E.g.: CustomEntryType or typeofentry.

@ThiloteE ThiloteE added the status: wontfix Bugs or suggestions that we are not able to fix or don't have the resource to implement. label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs entry-editor status: wontfix Bugs or suggestions that we are not able to fix or don't have the resource to implement. type: documentation
Projects
None yet
Development

No branches or pull requests

1 participant