[jira] Commented: (OFBIZ-4060) Bug In Jquery Integration - js File Not Found

Posted by Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4060-Bug-In-Jquery-Integration-js-File-Not-Found-tp3089558p3312331.html


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

Sascha Rodekamp commented on OFBIZ-4060:
----------------------------------------

Ok found the issue:

In the CommonScreen we build a substring from the locale descriptor: de_DE becomes de.

The resolveLocation method on the other side tries to find a i18n file with a de_DE postfix.
That file doesn't exist, so the error msg is right. But the screen tries to load the i18n_de (which exists) and not the i18n_de_DE (which not exists).

So i think we have to extend the "resolveLocation" logic to get proper warn messages.

Cheers
Sascha




> Bug In Jquery Integration - js File Not Found
> ---------------------------------------------
>
>                 Key: OFBIZ-4060
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4060
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> I'm getting this error in the log:
> 2010-12-15 09:58:38,203 (http-0.0.0.0-8443-2) [ComponentLocationResolver.java:43 :WARN ] Unable to get file URL for component location; expanded location was [C:/ofbiz/framework/images/webapp/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-US.js], original location was [component://images/webapp/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-US.js]

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira