You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Olivier Heintz (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/12/13 18:28:31 UTC

[jira] [Issue Comment Edited] (OFBIZ-4614) property auto-field-map in services in actions in forms, not working as describe in xsd description, name of map is not used

    [ https://issues.apache.org/jira/browse/OFBIZ-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168523#comment-13168523 ] 

Olivier Heintz edited comment on OFBIZ-4614 at 12/13/11 5:27 PM:
-----------------------------------------------------------------

With test-OFBIZ-4614.patch you can test my correction.

This test add a action section in FindExample Form, in this action there is only <service service-name="testAutofield" auto-field-map="parameters"/>

The service testAutofield just do : put exampleId and "+" and exampleName in exampleName

So, without OFBiz-4614, if you enter Bla in exampleId field and Blas in exampleName field and press enter, in the return find screen you have Bla in exampleId field but only + in exampleName field.

With OFBiz-4614 patch applied with the same test, on the return find screen you have Bla + Blas in the exampleName field.
                
      was (Author: holivier):
    With tes-OFBIZ-4614.patch you can test my correction.

This test add a action section in FindExample Form, in this action there is only <service service-name="testAutofield" auto-field-map="parameters"/>

The service testAutofield just do : put exampleId and "+" and exampleName in exampleName

So, without OFBiz-4614, if you enter Bla in exampleId field and Blas in exampleName field and press enter, in the return find screen you have Bla inn exampleId field but only + in exampleName field.

With OFBiz-4614 patch apply with the same test, on the return find screen you have Bla + Blas in the exampleName field.
                  
> property auto-field-map in services in actions in forms, not working as describe in xsd description, name of map is not used
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4614
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4614
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Olivier Heintz
>            Assignee: Erwan de FERRIERES
>         Attachments: OFBIZ-4614, Test-OFBIZ-4614.patch
>
>
> When using tag service in action in a form
> in xsd description there is <<This can be "true", "false" or the name of a Map in the context to use as the source Map for the service context>>
> Currently only true works. With this patch it's possible to give a map name as parameters for example to create the service context

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira