[
https://issues.apache.org/jira/browse/WICKET-4780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461830#comment-13461830
]
Martin Grigorov commented on WICKET-4780:
-----------------------------------------
The problem here is that BufferedResponseMapper is wrapped as part of
SystemMapper in CryptoMapper.
Later when mountPage("/home") is called a new CompoundRequestMapper is created
with CryptoMapper as an member and a MountedMapper for HomePage is prepended to
it.
So we have : CompoundRequestMapper(MountedMapper(/home),
CryptoMapper(SystemMapper(BufferedResponseMapper, /* other system mappers */ )))
When a request with url : home?0 comes MountedMapper(/home) matches on it and
BufferedResponseMapper is not asked at all. Later when starting to render the
reported WARN is issued because now we check for stored response.
> Using both MountedMapper and CryptoMapper causes warning
> --------------------------------------------------------
>
> Key: WICKET-4780
> URL: https://issues.apache.org/jira/browse/WICKET-4780
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.7, 6.0.0
> Reporter: Kurtulus Avcibasi
> Attachments: WICKET-4780_quickstart.rar
>
>
> Having both MountedMapper and CryptoMapper causes:
> WARN - WebPageRenderer - The Buffered response should be handled
> by BufferedResponseRequestHandler
> {code}
> public void init() {
> setRootRequestMapper(new CryptoMapper(getRootRequestMapper(),
> this));
> mountPage("/home", HomePage.class);
> super.init();
> }
> {code}
> {code}
> public HomePage(final PageParameters parameters) {
> super(parameters);
> add(new Label("version",
> getApplication().getFrameworkSettings().getVersion()));
> add(new Form<Void>("form"));
> }
> {code}
> {code}
> --HomePage.html
> ...
> <form wicket:id="form"></form>
> ...
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira