[jira] [Commented] (OFBIZ-9230) Missing reference to the delegator in framework/widget/templates/HtmlFormMacroLibrary.ftl

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

[jira] [Commented] (OFBIZ-9230) Missing reference to the delegator in framework/widget/templates/HtmlFormMacroLibrary.ftl

Nicolas Malin (Jira)

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

Rishi Solanki commented on OFBIZ-9230:
--------------------------------------

Thanks for putting all things together and I'm good with the fix provided. The patch attached will fix the issue reported. Also I like the idea of logging the message that system lost the delegator and now using the default delegator, Thanks!

==========================================================================================
            Debug.logError("Could not get delegator using the 'default' delegator", module);
==========================================================================================

Apart from the patch provided, can we consider the WidgetWorker class fix suggested over ML. I think it would cover the #3 point mentioned by Wei, that means systel will have the capability to get the delegator again if some how it drops due to some reason. I don't have very strong recommendations see if we can consider this.

> Missing reference to the delegator in framework/widget/templates/HtmlFormMacroLibrary.ftl
> -----------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9230
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9230
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Wei Zhang
>            Assignee: Rishi Solanki
>            Priority: Minor
>         Attachments: OFBIZ-9230.patch
>
>
> To reproduce
> 1. Load test data <SystemProperty systemResourceId="widget" systemPropertyId="widget.autocompleter.defaultMinLength" systemPropertyValue="3"/>
> 2. Open https://localhost:8443/partymgr/control/main
> 3. You will still get warning below in log file
> {quote}
> 2017-02-24 12:56:16,348 |http-nio-8443-exec-7 |EntityUtilProperties          |I| Could not get a system property for widget.autocompleter.defaultMinLength : null
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)