You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Yannick Haudry (JIRA)" <ji...@apache.org> on 2008/07/22 23:56:06 UTC
[jira] Updated: (STR-3160) TilesRequestProcessor
processTilesDefinition returns false when a definition has been processed
[ https://issues.apache.org/struts/browse/STR-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yannick Haudry updated STR-3160:
--------------------------------
Attachment: TilesRequestProcessor.patch
> TilesRequestProcessor processTilesDefinition returns false when a definition has been processed
> -----------------------------------------------------------------------------------------------
>
> Key: STR-3160
> URL: https://issues.apache.org/struts/browse/STR-3160
> Project: Struts 1
> Issue Type: Bug
> Components: Tiles 2 Plugin
> Affects Versions: 1.4.0
> Reporter: Yannick Haudry
> Attachments: TilesRequestProcessor.patch
>
>
> Here is the code involved in TilesRequestProcessor.processTilesDefinition:
> if (container.isValidDefinition(definitionName, new Object[] { request,
> response })) {
> retValue = response.isCommitted();
> try {
> container.render(definitionName, new Object[] { request,
> response });
> } catch (TilesException e) {
> throw new ServletException("Cannot render definition '"
> + definitionName + "'");
> }
> } else {
> // ignore not found
> if (log.isDebugEnabled()) {
> log.debug("Cannot find definition '" + definitionName + "'");
> }
> }
> the response.isCommitted() statement seems to return 'false' but the retValue should be set to 'true'
> as a definition was found at this point..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.