Bug 871315
| Summary: | Backporting GTNPORTAL-2351 to EPP 5.2.x | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Takayuki Konishi <tkonishi> |
| Component: | Portal | Assignee: | Nobody <nobody> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.2.2.GA | CC: | epp-bugs, theute |
| Target Milestone: | --- | ||
| Target Release: | 5.2.3.ER01 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:21:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |
Description of problem: When I add code[1] in APortlet.serveResource(), EPP doesn't return status code 404 and adds portlet.http-status-code header[2]. This issue was fixed in upstream[3]. So please backport to EPP 5.2.x [1] OutputStream outStream = response.getPortletOutputStream(); response.setProperty(response.HTTP_STATUS_CODE, "404"); outStream.write("404".getBytes("Shift_JIS")); outStream.flush(); outStream.close(); [2] Status=OK - 200 portlet.http-status-code=404 [3] https://issues.jboss.org/browse/GTNPORTAL-2351