History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WW-1242
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rainer Hermanns
Reporter: Ian Roughley
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WebWork

action attribute in form ads .action onto value

Created: 16/Mar/06 11:21 AM   Updated: 17/Mar/06 08:04 AM
Component/s: Actions
Affects Version/s: 2.2.1
Fix Version/s: 2.2.2

Flags: Important


 Description  « Hide
While debugging a problem with the showcase remote form page I noticed the following:

I had <ww:action ... action="/RemoteForm.action /> which was failing. The URL being called was "/context//RemoteForm.action.action".

Even though their will be a high chance that a WW action is called, it looks like the action value is assuming that this is always an action. We should ensure that other URL's can be called and not just WW actions.

 All   Comments   Change History      Sort Order:
Rainer Hermanns - [17/Mar/06 12:49 AM ]
Ian, was it really an action tag or the form tag with: <ww:form ... action="/RemoteForm.action />

Rainer Hermanns - [17/Mar/06 03:46 AM ]
Ouch...
This was a nasty one in DefaultActionMapper.getUriFromActionMapping...
Fixed in CVS HEAD and added unit tests for this behaviour...

Ian Roughley - [17/Mar/06 07:53 AM ]
my mistake - it was the form tag.

Rainer Hermanns - [17/Mar/06 08:04 AM ]
No problem, found and resolved it :)