Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Release 1.5.1
-
Fix Version/s: None
-
Component/s: ActionBean Dispatching
-
Labels:None
Description
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.
TestCase to reproduce this problem.