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/06 09:55:25 UTC

[jira] Issue Comment Edited: (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=12586109#action_12586109 ] 

jacopoc edited comment on OFBIZ-1736 at 4/6/08 12:54 AM:
-------------------------------------------------------------------

Looking at the logs, the following lines are printed over and over (19 times), at intervals of (about) 10 seconds:

     [java] 2008-04-06 09:46:54,484 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:653:INFO ] ConfigMap Created: (4) records in 0.084s
     [java] 2008-04-06 09:46:54,499 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:653:INFO ] ConfigMap Created: (4) records in 0.173s
     [java] 2008-04-06 09:46:54,586 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:811:INFO ] HandlerMap Created: (6) view handlers and (4) request/event handlers in 0.081s
     [java] 2008-04-06 09:46:54,592 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:811:INFO ] HandlerMap Created: (6) view handlers and (4) request/event handlers in 0.089s
     [java] 2008-04-06 09:46:54,691 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:386:INFO ] RequestMap Created: (8) records in 0.088s
     [java] 2008-04-06 09:46:55,031 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:386:INFO ] RequestMap Created: (358) records in 0.429s
     [java] 2008-04-06 09:46:55,119 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:480:INFO ] ViewMap Created: (6) records in 0.082s
     [java] 2008-04-06 09:46:55,150 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:480:INFO ] ViewMap Created: (166) records in 0.115s


I will try to figure out what is happening, but if someone with a better knowledge of this part of the framework has any ideas about this, please help!




      was (Author: jacopoc):
    Looking at the logs, the following lines are printed over and over (until the timeout occurs), at intervals of (about) 10 seconds:

     [java] 2008-04-06 09:46:54,484 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:653:INFO ] ConfigMap Created: (4) records in 0.084s
     [java] 2008-04-06 09:46:54,499 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:653:INFO ] ConfigMap Created: (4) records in 0.173s
     [java] 2008-04-06 09:46:54,586 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:811:INFO ] HandlerMap Created: (6) view handlers and (4) request/event handlers in 0.081s
     [java] 2008-04-06 09:46:54,592 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:811:INFO ] HandlerMap Created: (6) view handlers and (4) request/event handlers in 0.089s
     [java] 2008-04-06 09:46:54,691 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:386:INFO ] RequestMap Created: (8) records in 0.088s
     [java] 2008-04-06 09:46:55,031 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:386:INFO ] RequestMap Created: (358) records in 0.429s
     [java] 2008-04-06 09:46:55,119 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:480:INFO ] ViewMap Created: (6) records in 0.082s
     [java] 2008-04-06 09:46:55,150 (http-0.0.0.0-8443-Processor1) [    ConfigXMLReader.java:480:INFO ] ViewMap Created: (166) records in 0.115s


I will try to figure out what is happening, but if someone with a better knowledge of this part of the framework has any ideas about this, please help!
  
> 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.