Skip to content

Commit

Permalink
Merge branch 'release-9.0.0' into 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
bonita-ci committed Nov 16, 2023
2 parents b0a5364 + ade1dab commit cd4e1cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bpm/bonita-web-server/src/main/webapp/WEB-INF/errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</head>
<body>
<div class="container-fluid">
<iframe id="bonitaframe" src="%s/portal/resource/app/appDirectoryBonita/error-%s/content/?_l=fr&amp;app=appDirectoryBonita" style="border: 0px none;" width="100%%"></iframe>
<iframe id="bonitaframe" src="%s/portal/resource/app/appDirectoryBonita/error-%s/content/?app=appDirectoryBonita" style="border: 0px none;" width="100%%"></iframe>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void should_write_formatted_response() throws Exception {

assertThat(stringWriter.toString()).contains("Error 404");
assertThat(stringWriter.toString()).contains(
"src=\"/bonita/portal/resource/app/appDirectoryBonita/error-404/content/?_l=fr&amp;app=appDirectoryBonita\"");
"src=\"/bonita/portal/resource/app/appDirectoryBonita/error-404/content/?app=appDirectoryBonita\"");
assertThat(stringWriter.toString()).contains("width=\"100%\"");
}

Expand All @@ -105,7 +105,7 @@ public void should_write_formatted_response_with_root_contextPath() throws Excep
errorServlet.doGet(request, response);

assertThat(stringWriter.toString()).contains(
"src=\"/portal/resource/app/appDirectoryBonita/error-500/content/?_l=fr&amp;app=appDirectoryBonita\"");
"src=\"/portal/resource/app/appDirectoryBonita/error-500/content/?app=appDirectoryBonita\"");
}

@Test
Expand Down

0 comments on commit cd4e1cd

Please sign in to comment.