[jira] [Updated] (OFBIZ-6414) drop-down widget field with allow-multiple="true" does not display current value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-6414) drop-down widget field with allow-multiple="true" does not display current value

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Brohl updated OFBIZ-6414:
---------------------------------
    Fix Version/s:     (was: Upcoming Branch)
                   15.12.01

> drop-down widget field with allow-multiple="true" does not display current value
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6414
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6414
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Gareth Carter
>            Assignee: Michael Brohl
>            Priority: Minor
>             Fix For: 15.12.01
>
>         Attachments: ModelFormField.patch
>
>
> ModelFormField.getEntry returns the string representation of the value corresponding to the field in either the context map or parameters map but when the value is returned as a list [X, Y, Z], the opening and closing brackets are encoded [X, Y, Z]
> This prevents the FormRenderer (atleast MacroFormRenderer) from detecting a list object from the string and converting it back to a list
> eg - currentValueList = StringUtil.toList(currentValue);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)