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

Double bracketed author name shows wrong in author/editor column #6465

Closed
1 task done
crystalfp opened this issue May 11, 2020 · 12 comments · Fixed by #6479
Closed
1 task done

Double bracketed author name shows wrong in author/editor column #6465

crystalfp opened this issue May 11, 2020 · 12 comments · Fixed by #6479

Comments

@crystalfp
Copy link

JabRef 5.1–2020-04-14–e86d415 on Windows 10 10.0 amd64 with Java 14.0.1

Even if an author name is protected with brackets, it appears only in part in the Author/Editor column.

Steps to reproduce the behavior:

  1. Load the following entry:
@WWW{Apple2020,
  author  = {{Apple Inc.}},
  date    = {2020},
  title   = {Eseguire il backup dei file con Time Machine sul Mac},
  url     = {https://support.apple.com/it-ch/guide/mac-help/mh35860/mac},
  urldate = {2020-5-09},
  langid  = {italian},
}
  1. (optional) Use this entry in a text (Latex or markdown) to verify the text reference and citation are correct
  2. In JabRef Author/Editor column, the author is shown as “Inc.” when I expected "Apple Inc."
  3. Same problem for other compound names like {Quote Investigator} that shows “Investigator” and {The LOGO Foundation} that appear as “Foundation”.
@mlep
Copy link
Contributor

mlep commented May 11, 2020

Different issue, but similar topic: issue #6388 .

@tobiasdiez
Copy link
Member

Thanks to @k3KAW8Pnf7mkmdSMPHz27 this should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version.

@crystalfp
Copy link
Author

Well, no change. Same as before for {Apple Inc.}. I used the version
JabRef 5.1--2020-05-27--c119ca2
Windows 10 10.0 amd64
Java 14.0.1
Downloaded right now from builds.jabref.org/master

@k3KAW8Pnf7mkmdSMPHz27
Copy link
Sponsor Member

@crystalfp the PR was merged 22 min ago. I don't know how long it takes to build a new development version but I'd guess it will be included in JabRef 5.1--2020-05-28.

@Siedlerchr
Copy link
Member

@crystalfp You were a bit too fast, the new version is still building. It should be ready in roughly 10 minutes or so: https://github.com/JabRef/jabref/runs/717321958

@crystalfp
Copy link
Author

crystalfp commented May 29, 2020

Unfortunately this version (2020-05-28 21:01) does not start. No message, no error, nothing. Removed previous version and reinstalled. Nothing. Is there any debug flag to see what happens?
Thanks!

@crystalfp
Copy link
Author

If I run the portable version it not starts. Putting command line option -h gives the following errors:


C:\Users\Mario Valle\Downloads\JabRef\runtime\bin>JabRef -h
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [thread]
ERROR StatusLogger Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [level]
ERROR StatusLogger Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [logger]
ERROR StatusLogger Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [msg]
ERROR StatusLogger Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
ERROR StatusLogger Unrecognized format specifier [n]
ERROR StatusLogger Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.
%d [%thread] %-5level %logger - %msg%n java.lang.NullPointerException: null
        at org.jabref.preferences.JabRefPreferences.lambda$updateColumnSortOrder$16(Unknown Source) ~[org.jabref:?]
        at java.util.ArrayList.forEach(Unknown Source) ~[?:?]
        at org.jabref.preferences.JabRefPreferences.updateColumnSortOrder(Unknown Source) ~[org.jabref:?]
        at org.jabref.preferences.JabRefPreferences.createMainTableColumnSortOrder(Unknown Source) ~[org.jabref:?]
        at org.jabref.preferences.JabRefPreferences.loadTableSaveOrder(Unknown Source) ~[org.jabref:?]
        at org.jabref.preferences.JabRefPreferences.loadForExportFromPreferences(Unknown Source) ~[org.jabref:?]
        at org.jabref.preferences.JabRefPreferences.getCustomExportFormats(Unknown Source) ~[org.jabref:?]
        at org.jabref.preferences.JabRefPreferences.getExporterFactory(Unknown Source) ~[org.jabref:?]
        at org.jabref.JabRefMain.applyPreferences(Unknown Source) ~[org.jabref:?]
        at org.jabref.JabRefMain.start(Unknown Source) ~[org.jabref:?]
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(Unknown Source) ~[org.jabref.merged.module:?]
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source) ~[org.jabref.merged.module:?]
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source) ~[org.jabref.merged.module:?]
        at java.security.AccessController.doPrivileged(Unknown Source) ~[?:?]
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source) ~[org.jabref.merged.module:?]
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source) ~[org.jabref.merged.module:?]
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) ~[org.jabref.merged.module:?]
        at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source) ~[org.jabref.merged.module:?]
        at java.lang.Thread.run(Unknown Source) [?:?]

Could be an hint?

@Siedlerchr
Copy link
Member

@crystalfp Try to reset your preferences, add the commandline swtich -d all
cc @calixtus Related to your changes?

@calixtus
Copy link
Member

I noticed this behaviour already before, I thought this was already reported as an issue.

@crystalfp
Copy link
Author

Anyway, we are drifting to a different problem. I'll wait for another build to check the fix. Thanks!
FYI: -d all do nothing. Same error.

@calixtus
Copy link
Member

The newest portable version should start if you start JabRef with the mentioned commandline switch. But back to the main problem: Bracket names are not kept together as they are in biber and latex.

Could be related to the issue mentioned in the post merge discussion in #6479 ?

@calixtus calixtus reopened this May 29, 2020
@crystalfp
Copy link
Author

The original problem and the last no-start one have been solved in:
JabRef 5.1--2020-05-29--ed275b6
Windows 10 10.0 amd64
Java 14.0.1
I'm going to close this issue.
Thanks!
mario

koppor pushed a commit that referenced this issue Apr 1, 2023
41531558a8 Fix unsigned newspaper articles throughout Chicago 17 (#6486)
7678212826 Create trames.csl (#6479)
0cae26ac85 Update hochschule-fur-soziale-arbeit-fhnw.csl (#6480)
85c4b693a2 Update to UP Harvard Theology & Religion (#6485)
c273aa7e43 Update ieee.csl (#6481)
fe67b80e47 Update open-window.csl (#6367)
f2229705ef Create iainutuban-tarbiyah.csl (#6361)
1867a56a26 Create business-and-human-rights-journal (#6359)
1371dbdf26 Update iso690-author-date-es.csl (#6477)
6953a43efd Update ieee.csl (#6478)
f56d5ef1cc Create czech-journal-of-international-relations.csl (#6453)
678b53f99c Update harvard-stellenbosch-university.csl (#6464)
3074938038 Update ucl-university-college-apa.csl (#6475)
27dab9ea0f Update iso690-author-date-es.csl (#6476)
a8aea63d00 Create elsevier-american-chemical-society.csl (#6342)
f8f290fa63 Update iso690-author-date-es.csl (#6472)
7fdc621eee Update journal-of-neolithic-archaeology (#6466)
7025568e70 Update offa.csl (#6465)
2d69299b19 Create uni-fribourg-theologie.csl (#6473)
8db531a73e Create travail-et-emploi.csl (#6351)
c8b54fc531 Make monash-university-harvard dependent style (#6470)
b95f59ff5c Update journal-of-the-marine-biological-association-of-the-united-kingdom.csl (#6456)
a12b513119 Update universite-du-quebec-a-montreal.csl (#6463)
048e6641e4 Update zeitschrift-fur-geschichtsdidaktik.csl (#6454)
f0d3d7ef15 Update journal-fur-kulturpflanzen-journal-of-cultivated-plants.csl (#6447)
3b814fe048 Update the-accounting-review.csl (#6459)
f24befd580 Update survey-of-ophthalmology.csl from ama.csl to its own independent style (#6460)
c868ab54f6 Create vancouver-alphabetical.csl (#6461)
782e39cfe1 Update american-institute-of-physics.csl (#6457)
a56cf03e3c Fix Chicago Cases & Newspaper sorting (#6458)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 41531558a873b2533f2d17d8d6484c2408174fce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants