Michael Ende created OFBIZ-5371: ----------------------------------- Summary: SimpleMethod parameters doesnt work with prefix/suffix Key: OFBIZ-5371 URL: https://issues.apache.org/jira/browse/OFBIZ-5371 Project: OFBiz Issue Type: Bug Components: ALL COMPONENTS Affects Versions: SVN trunk Reporter: Michael Ende
I experianced some problems when a form submitted parameters with suffix or prefix directly to a SimpleMethod (through the controller request). In this case the prefix/suffix is not stripped from the parameter name. The patch updates the method SetServiceFields.java:exec(). I used the same code that is in the ServiceEventHandler.java and does the same job. I hope you agree with me, that the <set-service-fields>-Tag is an appropriate way to house the code. In contrast to the ServiceEventHandler.java we are not considering MultiPart (like files) as a valid input. This might be a bit restrictive but we are missing the required parameters like request, session, ... in the set-service-field function. -- This message was sent by Atlassian JIRA (v6.1#6144)