[jira] [Commented] (OFBIZ-11274) Cannot set property 'value' of null in lookup.js set_multivalues() function

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

[jira] [Commented] (OFBIZ-11274) Cannot set property 'value' of null in lookup.js set_multivalues() function

Nicolas Malin (Jira)

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

Mathieu Lirzin commented on OFBIZ-11274:
----------------------------------------

Hello Daniel,

The fact that this not used anywhere in the framework or plugins makes me think that maybe we don't need it. In order to demonstrate the value of this code it would be nice if you could make the framework use it in some appropriate place. This would help reviewing the code too. Are you willing to do that? :-)

Thanks

> Cannot set property 'value' of null in lookup.js set_multivalues() function
> ---------------------------------------------------------------------------
>
>                 Key: OFBIZ-11274
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11274
>             Project: OFBiz
>          Issue Type: Bug
>          Components: themes
>    Affects Versions: Trunk
>            Reporter: Daniel Watford
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: OFBIZ-11274-lookup-set-multi.patch
>
>
> Attempts to call lookup.js function set_multivalues() from a lookup screen fail with the console logging error:
> {noformat}
> Uncaught TypeError: Cannot set property 'value' of null
>  at set_multivalues (fieldlookup.js:769)
>  at <anonymous>:1:1{noformat}
> No framework or plugins appear to currently use this function.
> The set_multivalues() function should be useful for populating multiple fields (e.g. a Postal Address) on a form from a lookup.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)