This is an automated email from the ASF dual-hosted git repository. mbrohl pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new d83bec2 Fixed: Potential Nullpointer in ErrorPage.ftl d83bec2 is described below commit d83bec22d8ed17799b6c6dad5eda24a23c8823a5 Author: Dennis Balkir <dennis.bal...@ecomify.de> AuthorDate: Tue Mar 10 15:50:44 2020 +0100 Fixed: Potential Nullpointer in ErrorPage.ftl (OFBIZ-11448) Inserted nullcheck for request-attribute --- themes/common-theme/template/ErrorPage.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/common-theme/template/ErrorPage.ftl b/themes/common-theme/template/ErrorPage.ftl index 3e20390..47f7caf 100644 --- a/themes/common-theme/template/ErrorPage.ftl +++ b/themes/common-theme/template/ErrorPage.ftl @@ -112,7 +112,7 @@ under the License. <div class="container"> <div class="content"> <p class="error-500"><span>ERROR MESSAGE</span></p> - <p>${request.getAttribute("_ERROR_MESSAGE_")?replace("\n", "<br/>")}</p> + <p>${(request.getAttribute("_ERROR_MESSAGE_")!)?replace("\n", "<br/>")}</p> <div class="img"> <svg xmlns:dc="http://purl.org/dc/elements/1.1/"