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

Fix author list parser (#4169) #4248

Merged
merged 2 commits into from
Aug 7, 2018

Conversation

1160300208
Copy link
Contributor

@1160300208 1160300208 commented Aug 7, 2018

  • Change in CHANGELOG.md described
  • Tests created for changes
  • Manually tested changed features in running JabRef
  • Screenshots added in PR description (for bigger UI changes)
  • Ensured that the git commit message is a good one
  • Check documentation status (Issue created for outdated help page at help.jabref.org?)

We have fixed an issue where author list parser can't generate bibtexkey for Chinese author. #4169

Before fix:

2018-08-07_181055
The default bibtexkey is [author][year], actually it only shows [year]. Obviously the [author] can't be generated normally.

After fix:

2018-08-07_180216
Now it can generate bibtexkey for Chinese author.

We have used correct logic so that if author's name is not Chinese name, it won't do anything.

Copy link
Member

@tobiasdiez tobiasdiez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the follow-up. The new fix looks good to me.

Please remove the additional changelog entry.

CHANGELOG.md Outdated
@@ -27,6 +27,7 @@ We refer to [GitHub issues](/~https://github.com/JabRef/jabref/issues) by using `#
- Window state is saved on close and restored on start.
- Files without a defined external file type are now directly opened with the default aplication of the operating system
- We streamlined the process to rename and move files by removing the confirmation dialogs.
- We removed the redundant new lines of markings and wrapped the summary in the File annotation tab. [#3823](/~https://github.com/JabRef/jabref/issues/3823)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is probably a leftover from the other PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So what should I do after remove the additional changelog entry? Commit and push?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is my first time pull request.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, everything is fine now. Thanks!
We will wait until a second developer gives a positive review before merge.

@1160300208
Copy link
Contributor Author

It is ok now?

Copy link
Member

@Siedlerchr Siedlerchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I think this is a really nice feature for people having papers from Chinese authors.

@Siedlerchr Siedlerchr merged commit 7b93f26 into JabRef:master Aug 7, 2018
@1160300208 1160300208 deleted the fixauthorlistparser branch August 7, 2018 23:16
@1160300208 1160300208 restored the fixauthorlistparser branch August 7, 2018 23:17
Siedlerchr added a commit that referenced this pull request Aug 8, 2018
…tive

* upstream/master:
  Update dependencies (#4251)
  Fix author list parser (#4169) (#4248)
  Solved #3823 File annotation (#4246)
  Fix importer vulnerability (#4240)
Siedlerchr added a commit that referenced this pull request Aug 13, 2018
* upstream/master: (33 commits)
  Fix display of checkboxes
  Fix
  Remove Spin comments
  Fix#3861_build_addneeded/deleteobsoleteproperties2
  Fix#3861_build_addneeded/deleteobsoleteproperties
  Fix#3861_build
  Fix attach file does not relativize file path (#4252)
  Fix for issue koppor 254 (Auto cleanup url) (#4255)
  Fix#ReplaceString_ChangeConflict
  Fix#3861ReplaceString_solveConflict
  Fix#3861RS_conflicttest
  Fix#3861RS_conflicttest
  Remove changelog entries
  Fix#3861ReplaceString_checkStyle
  Fix#3861ReplaceString_Improvements
  Fix#3861ReplaceString_ContributeLog
  fix log4j slf4j dependency
  Update dependencies (#4251)
  Fix author list parser (#4169) (#4248)
  ReplaceStringMVVMPattern
  ...

# Conflicts:
#	src/main/java/org/jabref/gui/BasePanel.java
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 this pull request may close these issues.

3 participants