You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2014/06/25 19:04:24 UTC

[jira] [Commented] (OFBIZ-1019) PHP Hash Syntax Request Arguments Patch

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

Adam Heath commented on OFBIZ-1019:
-----------------------------------

While the idea might seem sound, if we go down this route, then ofbiz would end up having parsing/output support for every language/system that does something different.

Nowadays, the approach would be to use something in common, aka a json transport.

> PHP Hash Syntax Request Arguments Patch
> ---------------------------------------
>
>                 Key: OFBIZ-1019
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1019
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: PHP Hash Syntax Request Arguments Patch
>            Reporter: Karl Eilebrecht
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: patch9651.patch
>
>
> This issue is part of Key-Work Ofbiz Contribution Proposal.
> http://docs.ofbiz.org/display/OFBIZ/Key-Work+Ofbiz+Contribution+Proposal
> Based on Release: 540035
> Includes:         -
> Required:         -
> Recommended:      -
> Classes:          StringToStructureHelper.java, ServiceEventHandler.java
> Description:      Enables Ofbiz to accept the hash-syntax often used by PHP-
>                   People i.e. for service arguments (lists and maps).
>                   i.e. „http://.../phpinfo.php?c[test1]=appel&
>                   c[test2]=cherry&c[test3][a]=melon&c[test3][b]=peach")



--
This message was sent by Atlassian JIRA
(v6.2#6252)