OpenLiberty / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
https://openliberty.io
Eclipse Public License 2.0
1.14k stars 583 forks source link

WebContainer displayCustomizedExceptionText property needs to be documented #17380

Open wtlucy opened 3 years ago

wtlucy commented 3 years ago

Description of the high level feature, including any external spec links:

The description needs to be detailed enough such that it can be prioritized on the backlog and implemented by the development team.


RFE: https://bigblue.aha.io/ideas/ideas/TWAS-I-40

Previously support was added for customizing the error page text for when the server encounters SRVE0232E and SRVE0218E errors. Those error messages can be customized via

<webContainer displaycustomizedexceptiontext="Replace_with_Your_New_Message_Here"/>

This displayCustomizedExceptionText property needs to be properly documented so it shows up in doc pages like https://openliberty.io/docs/21.0.0.3/reference/config/webContainer.html

In addition move the test that exists to Open Liberty


When complete & mandatory, add links to the UFO (Upcoming Feature Overview) document, FTS (Feature Test Summary), and Aha (externally raised RFEs):

Instructions:

Design

Before Development Starts or 8 weeks before Onboarding

Before proceeding to any items below (active development), this feature must be prioritized on the backlog, and have been socialized (e.g., UFO Review). Follow the Feature and UFO (WAD) Approval Process.

Development

When active development has begun

Legal

3 weeks before Onboarding

Translation

3 weeks before Onboarding

Feature Complete

2 weeks before Onboarding

Focal Point Approvals

2 to 1 week before Onboarding

You MUST have the Design Approved or No Design Approved label before requesting focal point approvals.

All features (both "Design Approved" and "No Design Approved")

"Design Approved" features

Ready for GA

1 week before Onboarding

Other deliverbles

pnicolucci commented 3 years ago

I'd also like to see a test case for this if possible if one does not already exist.

wtlucy commented 3 years ago

I'd also like to see a test case for this if possible if one does not already exist.

We have a test in the other repo under com.ibm.ws.webcontainer_fat_lWAS which tests that some text specified in this prop is sent in response to an error case (invalid character % in the request URI): test_PI68061_WebContainerException_Customized_Text

malincoln commented 1 year ago

Per @pnicolucci still valid