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 (Created) (JIRA)" <ji...@apache.org> on 2011/12/07 15:58:39 UTC
[jira] [Created] (OFBIZ-4614) auto-field-map not working as
describe in xsd description, name of map is not used
auto-field-map 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
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
[jira] [Commented] (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
Posted by "Erwan de FERRIERES (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164475#comment-13164475 ]
Erwan de FERRIERES commented on OFBIZ-4614:
-------------------------------------------
Olivier,
could you add unit tests for this ?
Thansk,
> 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
>
>
> 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
[jira] [Closed] (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
Posted by "Erwan de FERRIERES (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erwan de FERRIERES closed OFBIZ-4614.
-------------------------------------
Resolution: Fixed
Fix Version/s: SVN trunk
> 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
> Fix For: SVN trunk
>
> 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
[jira] [Updated] (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
Posted by "Olivier Heintz (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Heintz updated OFBIZ-4614:
----------------------------------
Attachment: Test-OFBIZ-4614.patch
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
[jira] [Updated] (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
Posted by "Olivier Heintz (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Heintz updated OFBIZ-4614:
----------------------------------
Description:
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
was:
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
Summary: property auto-field-map in services in actions in forms, not working as describe in xsd description, name of map is not used (was: auto-field-map not working as describe in xsd description, name of map is not used)
> 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
> Attachments: OFBIZ-4614
>
>
> 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
[jira] [Assigned] (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
Posted by "Erwan de FERRIERES (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erwan de FERRIERES reassigned OFBIZ-4614:
-----------------------------------------
Assignee: Erwan de FERRIERES
> 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
>
>
> 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
[jira] [Commented] (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
Posted by "Erwan de FERRIERES (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179948#comment-13179948 ]
Erwan de FERRIERES commented on OFBIZ-4614:
-------------------------------------------
done at rev 1227365
Thanks Olivier
> 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
> Fix For: SVN trunk
>
> 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
[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
Posted by "Olivier Heintz (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (OFBIZ-4614) auto-field-map not working as
describe in xsd description, name of map is not used
Posted by "Olivier Heintz (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Heintz updated OFBIZ-4614:
----------------------------------
Attachment: OFBIZ-4614
> auto-field-map 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
> Attachments: OFBIZ-4614
>
>
> 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