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 <andr...@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-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to