You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2008/04/03 10:24:26 UTC

[jira] Commented: (OFBIZ-1736) Problems displaying internationalized labels in widgets when the label is not available in the user's language.

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

Jacopo Cappellato commented on OFBIZ-1736:
------------------------------------------

Adrian's commit in rev. 643951 has fixed the issue, thanks.
However I think there is still something wrong in the way *entity* labels are looked up and not found.
For  example, if you visit this page:

https://localhost:8443/accounting/control/GlAccountNavigate

the page takes a really long time to load: about 5 minutes before a timeout occurs, then the page is rendered without errors.

The problem is that the entity GlAccount (that is looked up to provide the tree of accounts) has now, in its entity definition, the following attribute set:

default-resource-name="ChartOfAccountsEntityLabels"

but if the file is not available; but even if the file is available but in it there aren't entries for the user's locale, then we get the timeout.

Any ideas/hints about this?



> Problems displaying internationalized labels in widgets when the label is not available in the user's language.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1736
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1736
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Jacopo Cappellato
>
> I still see some problems affecting the way localized labels are rendered after the recent refactoring.
> The problem is that, if the label is missing, the framework should always return the label id, so that it is rendered on the screen.
> Right now this is not true (at least for the labels in screen widgets and menu widgets); for an example have a look at this screen:
> https://localhost:8443/accounting/control/GlAccountNrPaymentMethod?organizationPartyId=Company
> You will notice that thetitles for the two screenlets are empty and that there is also an empty menu item.
> Any idea of how we could fix this?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.