You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Andreas Joseph Krogh <an...@officenet.no> on 2009/10/31 20:38:16 UTC
Bug in restful2?
Hi.
I'm using Struts-2.1.8.
I noticed that when setting the idParameterName, the actionName is not set back on the actionMapping. The Restful2ActionMapper correctly sets the ID and strippes it off the actionName (with the last '/'), in line 170, but the actionName is not set back on the mapping unless there exist some extra parameters (handled in the if-block in line 183).
I fail to see how this has ever worked...
--
Andreas Joseph Krogh <an...@officenet.no>
Senior Software Developer / CTO
------------------------+---------------------------------------------+
OfficeNet AS | The most difficult thing in the world is to |
Rosenholmveien 25 | know how to do a thing and to watch |
1414 TrollÄsen | somebody else doing it wrong, without |
NORWAY | comment. |
| |
Tlf: +47 24 15 38 90 | |
Fax: +47 24 15 38 91 | |
Mobile: +47 909 56 963 | |
------------------------+---------------------------------------------+
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org