[
http://www.stripesframework.org/jira/browse/STS-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11997#action_11997
]
Janne Jalkanen commented on STS-706:
------------------------------------
Still occurring on 1.5.x, but the workaround does work.
> MockRoundtrip doesn't work with clean url:s
> -------------------------------------------
>
> Key: STS-706
> URL: http://www.stripesframework.org/jira/browse/STS-706
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5.1
> Reporter: Joakim Kemeny
> Attachments: TestActionBean.java, TestActionBeanTest.java
>
>
> I'm having some problems after upgrading from Stripes 1.5 to Stripes 1.5.1.
> I have a simple ActionBean with a property called path. I try to set this
> property using @UrlBinding("/test/{path}.html") but this only works half way.
> Calling this action using /test/some/path.html will call the correct action
> and set the path property to "some/path". This behavior is expected.
> Calling the same action in a test case using MockRoundtrip however will set
> the path to "{path}". This behavior is not expected.
> After debugging the Stripes code I traced the problem back to STS-616. It
> seems that the MergedParameterMap contains the following array ["{path}",
> "some/path"] when it's created from a MockRoundtrip but not during normal
> execution.
> I'll attach a test case for this and hope for a fix or a workaround.
> Meanwhile I'll have to go back to 1.5.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development