[
https://issues.apache.org/jira/browse/OFBIZ-12441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17455246#comment-17455246
]
Jacques Le Roux edited comment on OFBIZ-12441 at 12/8/21, 1:54 PM:
-------------------------------------------------------------------
The reason is because the equivalent code for messages_en.js is logically
contained in
https://github.com/jquery-validation/jquery-validation/archive/master.zip::core.js.
So it's not present when using npm. Since OFBiz uses a particular way with the
createJsLanguageFileMapping service, we need the messages_en.js file.
That's annoying and I see only 1 solution: adding it by hand. There are several
versions online; better use the one still in R18.
was (Author: jacques.le.roux):
The reason is because the equivalent code for messages_en.js is logically
contained in
https://github.com/jquery-validation/jquery-validation/archive/master.zip::core.js.
So it's not present when using npm. Since OFBiz uses a particular way with the
createJsLanguageFileMapping service, we need the messages_en.js file.
That's annoying and I see only noe solution: adding it by hand. There are
several versions online; better use the one still in R18.
> messages_en.js is missing in trunk
> ----------------------------------
>
> Key: OFBIZ-12441
> URL: https://issues.apache.org/jira/browse/OFBIZ-12441
> Project: OFBiz
> Issue Type: Bug
> Components: Gradle, npm, themes
> Affects Versions: Trunk
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Major
>
> messages_en.js is missing in trunk
> The location:
> themes\common-theme\webapp\common\js\node_modules\jquery-validation\dist\localization
--
This message was sent by Atlassian Jira
(v8.20.1#820001)