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

Fixes NPE in Export to External DB #1056

Merged
merged 1 commit into from
Mar 28, 2016
Merged

Conversation

Siedlerchr
Copy link
Member

Fixes NPE in Export to External DB
Add DB Type to Export Succesful message
Reformatting
#1055

No Changelog because I think it was new introduced by the redesign of the Entry sorting (passing null)

@@ -541,7 +543,8 @@ public void run() {
frame.output(Localization.lang("Attempting SQL export..."));
final DBExporterAndImporterFactory factory = new DBExporterAndImporterFactory();
final DBExporter exporter = factory.getExporter(dbs.getServerType());
exporter.exportDatabaseToDBMS(database, bibDatabaseContext.getMetaData(), null, dbs, frame);
Copy link
Member

Choose a reason for hiding this comment

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

Should really only the selected entries be exported or all (getDatabase().getEntries)? Previously null indicated the latter.

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay, then I think I take better all entries to be consistent

Export all entries by default
Add DB Type to Export Succesful message
Reformatting
JabRef#1055
@Siedlerchr
Copy link
Member Author

Export now all entries by default

@tobiasdiez tobiasdiez merged commit f9f6cec into JabRef:master Mar 28, 2016
@Siedlerchr Siedlerchr deleted the npeDBexport branch April 3, 2016 16:31
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.

2 participants