Bert Leunis pushed to branch feature/HIPPLUG-1500 at cms-community / hippo-plugin-dashboard-document-wizard
Commits: 761ec8b5 by Bert Leunis at 2017-10-12T14:26:06+02:00 HIPPLUG-1500 return null from method when input was 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/761ec8b5b9f4a5b8a2bc2263c77347061212eea9 --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-plugin-dashboard-document-wizard/commit/761ec8b5b9f4a5b8a2bc2263c77347061212eea9 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