Bug 871315 - Backporting GTNPORTAL-2351 to EPP 5.2.x
Summary: Backporting GTNPORTAL-2351 to EPP 5.2.x
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.2.2.GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 5.2.3.ER01
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-30 08:30 UTC by Takayuki Konishi
Modified: 2025-02-10 03:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:21:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GTNPORTAL-2351 0 Major Resolved Portlet resource serving does not handle status code other than 200 OK 2015-12-18 16:18:26 UTC

Description Takayuki Konishi 2012-10-30 08:30:12 UTC
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

Comment 2 Red Hat Bugzilla 2025-02-10 03:21:00 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.