Bert Leunis pushed to branch bugfix/HIPPLUG-1498 at cms-community / hippo-plugin-dashboard-document-wizard
Commits: 1d81cd77 by Bert Leunis at 2017-10-12T13:08:32+02:00 HIPPLUG-1498 do return when input param is null - - - - - 1 changed file: - src/main/java/org/onehippo/forge/dashboard/documentwizard/NewDocumentWizardPlugin.java Changes: ===================================== src/main/java/org/onehippo/forge/dashboard/documentwizard/NewDocumentWizardPlugin.java ===================================== --- a/src/main/java/org/onehippo/forge/dashboard/documentwizard/NewDocumentWizardPlugin.java +++ b/src/main/java/org/onehippo/forge/dashboard/documentwizard/NewDocumentWizardPlugin.java @@ -473,6 +473,7 @@ public class NewDocumentWizardPlugin extends RenderPlugin<Object> implements IHe final String folderPath = getFolderPath(); if (folderPath == null) { log.error("Could not create path to target folder."); + return null; } return getOrCreateFolder(folderPath); } View it on GitLab: https://code.onehippo.org/cms-community/hippo-plugin-dashboard-document-wizard/commit/1d81cd7736207289c17b7f5396bd72170d56a62c --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-plugin-dashboard-document-wizard/commit/1d81cd7736207289c17b7f5396bd72170d56a62c You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn