struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3353) StrutsTestCase doesn't work with rest-plugin
Date Mon, 25 Aug 2014 07:36:57 GMT

    [ 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)

Mime
View raw message