moqui-framework icon indicating copy to clipboard operation
moqui-framework copied to clipboard

Error with moqui-org component's Login.xml processed

Open newmann opened this issue 2 years ago • 1 comments

Using the moqui-org component, when the Login .xml screen is processed, will be localized, and eventually become

,Is there a problem with processing logic?

I defined:<moqui.basic.LocalizedMessage locale="zh_CN" original="Login" localized="登录" />

newmann avatar Apr 18 '23 03:04 newmann

framework version: 3.1.0-rc1

found the bug: ./runtime/template/screen-macro/ScreenHtmlMacros.ftl, line 18 ${ec.resource.expand(.node["@style"], "") ==> ${ec.resource.expandNoL10n(.node["@style"], "")

same mistake also in file TestScreenHtmlmacros.ftl line 18

newmann avatar May 15 '23 02:05 newmann