You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Brad Cupit (JIRA)" <ji...@apache.org> on 2010/07/23 22:51:50 UTC
[jira] Created: (WW-3469) convention plugin does not apply
interceptors unless there is an Action
convention plugin does not apply interceptors unless there is an Action
-----------------------------------------------------------------------
Key: WW-3469
URL: https://issues.apache.org/jira/browse/WW-3469
Project: Struts 2
Issue Type: Bug
Components: Plugin - Convention
Affects Versions: 2.1.8.1
Reporter: Brad Cupit
Attachments: apply_interceptors.patch
When you have a JSP named but no corresponding action, the convention plugin does not run the interceptors.
Codebehind+zero config did run the interceptors.
The code exists in ConventionUnknownHandler, but is commented out.
On 2007 Dec. 28 r607248, bpontarelli commented the code out, with this comment: Finished bug fixes and unit tests for first alpha
I'm not sure whether it was purposefully commented out, or accidentally commented out
I have tested the commented-out code and it does work.
Why do I need interceptors when there is no action?
----------------------------------------------------------------------
We have some interceptors which set values in the request/session and we'd like to access these values in the JSP
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-3469) convention plugin does not apply
interceptors unless there is an Action
Posted by "Brad Cupit (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Cupit updated WW-3469:
---------------------------
Attachment: apply_interceptors.patch
> convention plugin does not apply interceptors unless there is an Action
> -----------------------------------------------------------------------
>
> Key: WW-3469
> URL: https://issues.apache.org/jira/browse/WW-3469
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Convention
> Affects Versions: 2.1.8.1
> Reporter: Brad Cupit
> Attachments: apply_interceptors.patch
>
>
> When you have a JSP named but no corresponding action, the convention plugin does not run the interceptors.
> Codebehind+zero config did run the interceptors.
> The code exists in ConventionUnknownHandler, but is commented out.
> On 2007 Dec. 28 r607248, bpontarelli commented the code out, with this comment: Finished bug fixes and unit tests for first alpha
> I'm not sure whether it was purposefully commented out, or accidentally commented out
> I have tested the commented-out code and it does work.
> Why do I need interceptors when there is no action?
> ----------------------------------------------------------------------
> We have some interceptors which set values in the request/session and we'd like to access these values in the JSP
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-3469) convention plugin does not apply
interceptors unless there is an Action
Posted by "Brad Cupit (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Cupit updated WW-3469:
---------------------------
Comment: was deleted
(was: fixing incorrect wording, moved less important text down)
> convention plugin does not apply interceptors unless there is an Action
> -----------------------------------------------------------------------
>
> Key: WW-3469
> URL: https://issues.apache.org/jira/browse/WW-3469
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Convention
> Affects Versions: 2.1.8.1
> Reporter: Brad Cupit
> Attachments: apply_interceptors.patch
>
>
> When you have a JSP but no corresponding action, the convention plugin does not run the interceptors.
> The code exists in ConventionUnknownHandler, but is commented out.
> On 2007 Dec. 28 r607248, bpontarelli commented the code out, with this comment: Finished bug fixes and unit tests for first alpha
> I'm not sure whether it was purposefully commented out, or accidentally commented out
> I have tested the commented-out code and it does work.
> In Struts 2.0 + Codebehind + zero config, the interceptors were run when there was no corresponding action.
> Why do I need interceptors when there is no action?
> ----------------------------------------------------------------------
> We have some interceptors which set values in the request/session and we'd like to access these values in the JSP
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WW-3469) convention plugin does not apply
interceptors unless there is an Action
Posted by "Brad Cupit (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Cupit updated WW-3469:
---------------------------
Description:
When you have a JSP but no corresponding action, the convention plugin does not run the interceptors.
The code exists in ConventionUnknownHandler, but is commented out.
On 2007 Dec. 28 r607248, bpontarelli commented the code out, with this comment: Finished bug fixes and unit tests for first alpha
I'm not sure whether it was purposefully commented out, or accidentally commented out
I have tested the commented-out code and it does work.
In Struts 2.0 + Codebehind + zero config, the interceptors were run when there was no corresponding action.
Why do I need interceptors when there is no action?
----------------------------------------------------------------------
We have some interceptors which set values in the request/session and we'd like to access these values in the JSP
was:
When you have a JSP named but no corresponding action, the convention plugin does not run the interceptors.
Codebehind+zero config did run the interceptors.
The code exists in ConventionUnknownHandler, but is commented out.
On 2007 Dec. 28 r607248, bpontarelli commented the code out, with this comment: Finished bug fixes and unit tests for first alpha
I'm not sure whether it was purposefully commented out, or accidentally commented out
I have tested the commented-out code and it does work.
Why do I need interceptors when there is no action?
----------------------------------------------------------------------
We have some interceptors which set values in the request/session and we'd like to access these values in the JSP
fixing incorrect wording, moved less important text down
> convention plugin does not apply interceptors unless there is an Action
> -----------------------------------------------------------------------
>
> Key: WW-3469
> URL: https://issues.apache.org/jira/browse/WW-3469
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Convention
> Affects Versions: 2.1.8.1
> Reporter: Brad Cupit
> Attachments: apply_interceptors.patch
>
>
> When you have a JSP but no corresponding action, the convention plugin does not run the interceptors.
> The code exists in ConventionUnknownHandler, but is commented out.
> On 2007 Dec. 28 r607248, bpontarelli commented the code out, with this comment: Finished bug fixes and unit tests for first alpha
> I'm not sure whether it was purposefully commented out, or accidentally commented out
> I have tested the commented-out code and it does work.
> In Struts 2.0 + Codebehind + zero config, the interceptors were run when there was no corresponding action.
> Why do I need interceptors when there is no action?
> ----------------------------------------------------------------------
> We have some interceptors which set values in the request/session and we'd like to access these values in the JSP
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.