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 issue with missing year value in year column #5197

Merged
merged 5 commits into from
Aug 21, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix issue of missing publication year of an entry when user add conte…
…nt from IEEE library
  • Loading branch information
mmihuu committed Aug 19, 2019
commit 3d09d9039df6c208dd4907ceb801bf040a74286a
1 change: 1 addition & 0 deletions src/main/java/org/jabref/logic/importer/fetcher/IEEE.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ private static BibEntry parseJsonRespone(JSONObject jsonEntry, Character keyword
entry.setField(StandardField.AUTHOR, authors.stream().collect(Collectors.joining(" and ")));
entry.setField(StandardField.LOCATION, jsonEntry.optString("conference_location"));
entry.setField(StandardField.DOI, jsonEntry.optString("doi"));
entry.setField(StandardField.YEAR,jsonEntry.optString("publication_year"));
entry.setField(StandardField.PAGES, jsonEntry.optString("start_page") + "--" + jsonEntry.optString("end_page"));

JSONObject keywordsContainer = jsonEntry.optJSONObject("index_terms");
Expand Down