You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Michael Ende (JIRA)" <ji...@apache.org> on 2013/10/28 15:19:37 UTC
[jira] [Updated] (OFBIZ-5371) SimpleMethod parameters doesnt work
with prefix
[ https://issues.apache.org/jira/browse/OFBIZ-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Ende updated OFBIZ-5371:
--------------------------------
Summary: SimpleMethod parameters doesnt work with prefix (was: SimpleMethod parameters doesnt work with prefix/suffix)
> SimpleMethod parameters doesnt work with prefix
> -----------------------------------------------
>
> 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
> Attachments: OFBIZ-5371.patch
>
>
> 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)