You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/08/25 09:36:57 UTC

[jira] [Commented] (WW-3353) StrutsTestCase doesn't work with rest-plugin

    [ https://issues.apache.org/jira/browse/WW-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108851#comment-14108851 ] 

Lukasz Lenart commented on WW-3353:
-----------------------------------

The problem is that Core depends on many JSP related libs also Convention plugin isn't properly supported - I don't see simple way to eliminate all those dependencies right now. I'm planning to move JSP support to dedicated plugin (the same for Velocity and FreeMarker) so Core will only depends on servlet-api but it rather won't happen in 2.3.x series.

> StrutsTestCase doesn't work with rest-plugin
> --------------------------------------------
>
>                 Key: WW-3353
>                 URL: https://issues.apache.org/jira/browse/WW-3353
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - REST
>    Affects Versions: 2.1.8
>            Reporter: Bill Stilwell
>             Fix For: 2.5.x
>
>         Attachments: GetOrdersStrutsTest.java, pom.xml
>
>
> StrutsTestCase doesn't seem to work with rest-plugin. I can create action mapping/action proxies, but they don't work - for e.g., a request for /orders/3 against the rest-showcase controller doesn't call setId. 
> I will attach a sample unit test that demonstrates the issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)