ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OFBIZ-10277) The getJSONuiLabel javascript function is no longer working
Date Wed, 14 Mar 2018 08:00:01 GMT

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

Jacques Le Roux edited comment on OFBIZ-10277 at 3/14/18 7:59 AM:
------------------------------------------------------------------

Actually it can't be tested as I thought because getJSONuiLabels is supposed to be called
from js. And showErrorAlert, called from FormWidgetExamples,  relies only on FTL. I confused
with showErrorAlertLoadUiLabel which is calling getJSONuiLabels and works when you replaces
showErrorAlert in FormWidgetExamples by showErrorAlertLoadUiLabel.

So I close here as not a problem and will create a Jira for showErrorAlert only



was (Author: jacques.le.roux):
Actually it can't be tested as I thought because getJSONuiLabels is supposed to be called
from js. And showErrorAlert, called from FormWidgetExamples,  relies only on FTL. I confused
with showErrorAlertLoadUiLabel which is calling getJSONuiLabels and works when you replaces
showErrorAlert in FormWidgetExamples by showErrorAlertLoadUiLabel.

So I close here as not a problme and will create a Jira for showErrorAlert only


> The getJSONuiLabel javascript function is no longer working
> -----------------------------------------------------------
>
>                 Key: OFBIZ-10277
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10277
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk, 16.11.04
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>         Attachments: OFBIZ-10277.patch
>
>
> While working on some Ajax stuff I found that the getJSONuiLabel javascript function
(and I guess getJSONuiLabels) is no longer working, and that's for a while. It's easy testable
by looking at the "Field8: Javascript event" at https://demo-stable.ofbiz.apache.org/example/control/FormWidgetExamples,
trunk demo is same.
> This means that no errors is reported in UI because getJSONuiLabel/s are used by all
error report tools, for instance the 50 showErrorAlert calls.
> R15 and R14 have the same issue, R13 can't be tested (no example component) so it's indeed
a while this issue exists.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message