[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-tp3089558p3310663.html


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

Manuela Gruendlinger commented on OFBIZ-4060:
---------------------------------------------

Hi there!

The warning message logged now is still a bit distracting and at times even wrong. For example, when trying to load the i18n file for locale 'de_DE' the message suggests that 'en' would be used as a fallback:

[java] 2011-02-17 12:53:21,050 (http-0.0.0.0-8443-1) [ComponentLocationResolver.java:44 :WARN ] A jquery.ui.datepicker i18n file is missing for the language.country couple you want. Simply add it there: [C:/ofbiz/framework/images/webapp/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-de-DE.js]. Else anyway the 'en' default will be used

This is actually wrong because as a fallback, the file for locale 'de' will be used, which is still OK since it isn't necessary to maintain another copy of the same variant.

Are there any further changes planned for this?

Thanks & regards
Manuela

> 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