[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=17129090#comment-17129090 ]

Daniel Watford commented on OFBIZ-11274:
----------------------------------------

Hi [~adityasharma],

Per [#comment-16971213] I wasn't able to find a good use case for set_multivalues and have switched to returning a single ID from Lookup Forms which are then used to fetch additional information as needed.

I'd recommend closing this ticket if no appropriate use case is forthcoming.

> 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
>            Assignee: Aditya Sharma
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: OFBIZ-11274-lookup-set-multi.patch
>
>
> Reference to the thread on dev list: [https://ofbiz.markmail.org/thread/3j7cndhig5oknknq]
> 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)