moqui / moqui-framework

Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration.
http://www.moqui.org
Other
279 stars 200 forks source link

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

Open newmann opened 1 year ago

newmann commented 1 year ago

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:

newmann commented 1 year ago

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