Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.0.5
-
None
-
None
Description
I have a view config with navigation set to REDIRECT and viewParams set to INCLUDE like this:
@Page(navigation = Page.NavigationMode.REDIRECT,
viewParams = Page.ViewParameterMode.INCLUDE)
public class ShowProvider implements View {}
I use this view config as the result of an action method to navigate from an edit page back to a details page with a redirect using the (single) view param id for identifying the current item.
This works as expected, but additionally to the view param I get ALL request parameters in the url. As this is a redirect from a POST that is quite a list of parameters.
The parameters are added in ViewConfigAwareNavigationHandler.convertEntryToOutcome() if ViewParameterMode.INCLUDE is used on the view config - but I don't see why this is done?