The PortalUtil.copyRequestParameters(ActionRequest,ActionResponse) method is designed to preserve action request parameters into the render request by calling StateAwareResponse.setRenderParameter(String, String). However, the Portlet 3.0 Javadoc for this method has a new requirement such that IllegalArgumentException must be thrown if "if an element of the values array is null; if an attempt is made to set a public render parameter to null." Because of this new requirement, the PortalUtil.copyRequestParameters(ActionRequest,ActionResponse) method needs to make sure it does not pass a null array or an array that contains a null value.
- Go to Build > Pages
- Edit the permission for Welcome page
- Remove view permission for Site Member role
- Click Save
Success message occurs and no error in console.
Error occurs when editing widget page permission.
There's also Error in console: