Skip to content

Comments

Fix runtime, framework mismatch#1

Open
acetousk wants to merge 54 commits intoBrainfood-com:BF-12879from
moqui:master
Open

Fix runtime, framework mismatch#1
acetousk wants to merge 54 commits intoBrainfood-com:BF-12879from
moqui:master

Conversation

@acetousk
Copy link
Collaborator

Ran into problem in 12483 because framework hasn't been updated in a while (see below). This should fix it.

18:45:36.910 ERROR 92672907-189 o.moqui.i.c.r.FtlTemplateRenderer Error from FTL in render
freemarker.core._TemplateModelException: Java method "org.moqui.impl.screen.ScreenRenderImpl.makeFormListSingleMap(org.moqui.impl.screen.ScreenForm$FormListRenderInfo, Map, org.moqui.impl.screen.ScreenUrlInfo$UrlInstance)" takes 3 arguments, but 4 was given.


FTL stack trace ("~" means nesting-related):
- Failed at: ${Static["org.moqui.util.WebUtilities... [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "form-list" at line 1356, column 38]
- Reached through: #recurse .node["box-body-nopad"][0] [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "container-box" at line 105, column 50]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "widgets" at line 22, column 5]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "screen" at line 19, column 16]
- Reached through: #visit widgetsNode [in template "moqui.automatic.qvt" at line 1, column 64]

at org.moqui.impl.screen.ScreenWidgetRenderFtl.render(ScreenWidgetRenderFtl.groovy:32) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenWidgets.render(ScreenWidgets.groovy:38) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.renderSingle(ScreenSection.groovy:159) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.render(ScreenSection.groovy:132) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenDefinition.render(ScreenDefinition.groovy:686) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.doActualRender(ScreenRenderImpl.groovy:926) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:710) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:170) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:118) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[jetty-servlet-api-4.0.6.jar:?]
at org.moqui.impl.webapp.ElasticRequestLogFilter.doFilter(ElasticRequestLogFilter.groovy:110) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

18:45:36.911 ERROR 92672907-189 o.moqui.i.c.r.FtlTemplateRenderer Error from FTL in render
freemarker.core._TemplateModelException: Java method "org.moqui.impl.screen.ScreenRenderImpl.makeFormListSingleMap(org.moqui.impl.screen.ScreenForm$FormListRenderInfo, Map, org.moqui.impl.screen.ScreenUrlInfo$UrlInstance)" takes 3 arguments, but 4 was given.


FTL stack trace ("~" means nesting-related):
- Failed at: ${Static["org.moqui.util.WebUtilities... [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "form-list" at line 1356, column 38]
- Reached through: #recurse .node["box-body-nopad"][0] [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "container-box" at line 105, column 50]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "widgets" at line 22, column 5]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "screen" at line 19, column 16]
- Reached through: #visit widgetsNode [in template "moqui.automatic.qvt" at line 1, column 64]

at org.moqui.impl.screen.ScreenWidgetRenderFtl.render(ScreenWidgetRenderFtl.groovy:32) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenWidgets.render(ScreenWidgets.groovy:38) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.renderSingle(ScreenSection.groovy:159) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.render(ScreenSection.groovy:132) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenDefinition.render(ScreenDefinition.groovy:686) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.doActualRender(ScreenRenderImpl.groovy:926) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:710) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:170) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:118) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[jetty-servlet-api-4.0.6.jar:?]
at org.moqui.impl.webapp.ElasticRequestLogFilter.doFilter(ElasticRequestLogFilter.groovy:110) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

18:45:36.913 ERROR 92672907-189 o.moqui.i.c.r.FtlTemplateRenderer Error from FTL in render
freemarker.core._TemplateModelException: Java method "org.moqui.impl.screen.ScreenRenderImpl.makeFormListSingleMap(org.moqui.impl.screen.ScreenForm$FormListRenderInfo, Map, org.moqui.impl.screen.ScreenUrlInfo$UrlInstance)" takes 3 arguments, but 4 was given.


FTL stack trace ("~" means nesting-related):
- Failed at: ${Static["org.moqui.util.WebUtilities... [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "form-list" at line 1356, column 38]
- Reached through: #recurse .node["box-body-nopad"][0] [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "container-box" at line 105, column 50]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "widgets" at line 22, column 5]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "screen" at line 19, column 16]
- Reached through: #visit widgetsNode [in template "moqui.automatic.qvt" at line 1, column 64]

at org.moqui.impl.screen.ScreenWidgetRenderFtl.render(ScreenWidgetRenderFtl.groovy:32) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenWidgets.render(ScreenWidgets.groovy:38) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.renderSingle(ScreenSection.groovy:159) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.render(ScreenSection.groovy:132) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenDefinition.render(ScreenDefinition.groovy:686) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.doActualRender(ScreenRenderImpl.groovy:926) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:710) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:170) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:118) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[jetty-servlet-api-4.0.6.jar:?]
at org.moqui.impl.webapp.ElasticRequestLogFilter.doFilter(ElasticRequestLogFilter.groovy:110) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

18:45:36.914 ERROR 92672907-189 o.moqui.i.c.r.FtlTemplateRenderer Error from FTL in render
freemarker.core._TemplateModelException: Java method "org.moqui.impl.screen.ScreenRenderImpl.makeFormListSingleMap(org.moqui.impl.screen.ScreenForm$FormListRenderInfo, Map, org.moqui.impl.screen.ScreenUrlInfo$UrlInstance)" takes 3 arguments, but 4 was given.


FTL stack trace ("~" means nesting-related):
- Failed at: ${Static["org.moqui.util.WebUtilities... [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "form-list" at line 1356, column 38]
- Reached through: #recurse .node["box-body-nopad"][0] [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "container-box" at line 105, column 50]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "widgets" at line 22, column 5]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "screen" at line 19, column 16]
- Reached through: #visit widgetsNode [in template "moqui.automatic.qvt" at line 1, column 64]

at org.moqui.impl.screen.ScreenWidgetRenderFtl.render(ScreenWidgetRenderFtl.groovy:32) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenWidgets.render(ScreenWidgets.groovy:38) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.renderSingle(ScreenSection.groovy:159) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.render(ScreenSection.groovy:132) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenDefinition.render(ScreenDefinition.groovy:686) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.doActualRender(ScreenRenderImpl.groovy:926) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:710) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:170) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:118) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[jetty-servlet-api-4.0.6.jar:?]
at org.moqui.impl.webapp.ElasticRequestLogFilter.doFilter(ElasticRequestLogFilter.groovy:110) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

18:45:36.915 ERROR 92672907-189 o.moqui.i.c.r.FtlTemplateRenderer Error from FTL in render
freemarker.core._TemplateModelException: Java method "org.moqui.impl.screen.ScreenRenderImpl.makeFormListSingleMap(org.moqui.impl.screen.ScreenForm$FormListRenderInfo, Map, org.moqui.impl.screen.ScreenUrlInfo$UrlInstance)" takes 3 arguments, but 4 was given.


FTL stack trace ("~" means nesting-related):
- Failed at: ${Static["org.moqui.util.WebUtilities... [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "form-list" at line 1356, column 38]
- Reached through: #recurse .node["box-body-nopad"][0] [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "container-box" at line 105, column 50]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "widgets" at line 22, column 5]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "screen" at line 19, column 16]
- Reached through: #visit widgetsNode [in template "moqui.automatic.qvt" at line 1, column 64]

at org.moqui.impl.screen.ScreenWidgetRenderFtl.render(ScreenWidgetRenderFtl.groovy:32) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenWidgets.render(ScreenWidgets.groovy:38) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.renderSingle(ScreenSection.groovy:159) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.render(ScreenSection.groovy:132) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenDefinition.render(ScreenDefinition.groovy:686) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.doActualRender(ScreenRenderImpl.groovy:926) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:710) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:170) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:118) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[jetty-servlet-api-4.0.6.jar:?]
at org.moqui.impl.webapp.ElasticRequestLogFilter.doFilter(ElasticRequestLogFilter.groovy:110) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

18:45:36.916 ERROR 92672907-189 o.moqui.i.c.r.FtlTemplateRenderer Error from FTL in render
freemarker.core._TemplateModelException: Java method "org.moqui.impl.screen.ScreenRenderImpl.makeFormListSingleMap(org.moqui.impl.screen.ScreenForm$FormListRenderInfo, Map, org.moqui.impl.screen.ScreenUrlInfo$UrlInstance)" takes 3 arguments, but 4 was given.


FTL stack trace ("~" means nesting-related):
- Failed at: ${Static["org.moqui.util.WebUtilities... [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "form-list" at line 1356, column 38]
- Reached through: #recurse .node["box-body-nopad"][0] [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "container-box" at line 105, column 50]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "widgets" at line 22, column 5]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "screen" at line 19, column 16]
- Reached through: #visit widgetsNode [in template "moqui.automatic.qvt" at line 1, column 64]

at org.moqui.impl.screen.ScreenWidgetRenderFtl.render(ScreenWidgetRenderFtl.groovy:32) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenWidgets.render(ScreenWidgets.groovy:38) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.renderSingle(ScreenSection.groovy:159) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.render(ScreenSection.groovy:132) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenDefinition.render(ScreenDefinition.groovy:686) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.doActualRender(ScreenRenderImpl.groovy:926) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:710) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:170) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:118) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[jetty-servlet-api-4.0.6.jar:?]
at org.moqui.impl.webapp.ElasticRequestLogFilter.doFilter(ElasticRequestLogFilter.groovy:110) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

18:45:36.917 ERROR 92672907-189 o.moqui.i.c.r.FtlTemplateRenderer Error from FTL in render
freemarker.core._TemplateModelException: Java method "org.moqui.impl.screen.ScreenRenderImpl.makeFormListSingleMap(org.moqui.impl.screen.ScreenForm$FormListRenderInfo, Map, org.moqui.impl.screen.ScreenUrlInfo$UrlInstance)" takes 3 arguments, but 4 was given.


FTL stack trace ("~" means nesting-related):
- Failed at: ${Static["org.moqui.util.WebUtilities... [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "form-list" at line 1356, column 38]
- Reached through: #recurse .node["box-body-nopad"][0] [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "container-box" at line 105, column 50]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "widgets" at line 22, column 5]
- Reached through: #recurse [in template "template/screen-macro/DefaultScreenMacros.qvt.ftl" in macro "screen" at line 19, column 16]
- Reached through: #visit widgetsNode [in template "moqui.automatic.qvt" at line 1, column 64]

at org.moqui.impl.screen.ScreenWidgetRenderFtl.render(ScreenWidgetRenderFtl.groovy:32) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenWidgets.render(ScreenWidgets.groovy:38) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.renderSingle(ScreenSection.groovy:159) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenSection.render(ScreenSection.groovy:132) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenDefinition.render(ScreenDefinition.groovy:686) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.doActualRender(ScreenRenderImpl.groovy:926) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.internalRender(ScreenRenderImpl.groovy:710) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.screen.ScreenRenderImpl.render(ScreenRenderImpl.groovy:170) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at org.moqui.impl.webapp.MoquiServlet.service(MoquiServlet.groovy:118) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) ~[jetty-servlet-api-4.0.6.jar:?]
at org.moqui.impl.webapp.ElasticRequestLogFilter.doFilter(ElasticRequestLogFilter.groovy:110) ~[moqui-framework-3.1.0-rc1.jar:3.1.0-rc1]
at java.lang.Thread.run(Thread.java:829) ~[?:?]

chunlinyao and others added 30 commits May 23, 2023 11:37
PostgreSQL JDBC Driver introduced separating type for partitioned table from  40.2.12 pgjdbc/pgjdbc#1708
…on-table

Fix regression with partitioned tables in PostgreSQL
* Fixed the problem that moqui cannot be deployed as non-root webapp in Tomcat

* Fixed a runtime error if Currency is BTC

* Fixed a runtime error if Currency is BTC

* Fixed the retries of Elastic Client

* Add subscreensItem.menuInclude to menu data
* Improvement: In Moqui-Multi-Instance added a Async-Pull-Image-Feature which pulls the image by Using Docker-Engine-Api from multiple registry like AWS, Azure, Docker-Hub

* Update AUTHORS

* Added: added the generic way to process cmd , by adding an extra field(authTokenPass) inside the entity InstanceImage , now user has separate field for cmd and password so all types of registries is easily configurable

* Update ServerEntities.xml by adding description
… vulnerabilities; there are lots of dependencies updated in this set, see diff for full details
… handle first, second, and last rows, for qvt and other client rendered output that needs full data for a form in a map/object
…inor non-backward compatible changes single 3.0.10 with odd boolean behavior in rare cases, adjusted for in the framework long ago but should be watched for in custom code), Jetty to 10.0.16, H2 database, SLF4J, SnakeYAML, Apache Commons Lang3
* Use moqui.basic.Uom entity to determine currency formatting and rounding details

* Add currency-hide-symbol attribute as a complement to currency-unit-field, displaying the value without the currency symbol

* Update authors file
Add and Handle Hmac Sha256 with timestamp
…tJavaUtil (#618)

* In EntityAutoServiceRunner, remove unwanted break statement to ensure support for multiple PK fields with wildcard (*).

* In ContextJavaUtil, add missing future keyword.

* Updated authors file.
Allow for 10 second threshold in nowTimestamp
… on Uom; small change to currency formatting test to pass with current OOTB settings
In addons.xml, added new moqui-sso component.
…th resources, thanks to Deepak Dixit for the suggestion
#625)

* Implemented withCloseable/try-with-resources where needed in the code to ensure proper closure of the entity list iterator resource

* Fixed withCloseable syntax

---------

Co-authored-by: David E. Jones <dej@dejc.com>
… a compile error was missed in the changes for PR #625, fix small issues from this
…mmons-lang3, commons-io, commons-logging, commons-validator, jackson-databind to 2.16.0, jsoup, shiro
create a service to unify login attempts
…nd better match convention used elsewhere, no functional changes
jonesde and others added 19 commits February 17, 2024 13:37
Add screen resource type for a footer script
… operations like drop and create FKs have been broken with any of these in place (as they are by default)
…ing when the index name is a comma separated list of index names
Add start component to addons and createComponent task to build.grade
…ception: org.apache.groovy.json.internal.LazyMap
fix: Unable to release Session : Caused by: java.io.NotSerializableEx…
…, SLF4J, Log4J, and various commons and other jars; updated comments about Groovy version and some code changes for a Groovy version update but more are needed so still using same version of Groovy in this commit (most changes are for more strict rules when using @CompileStatic)
@eigood
Copy link

eigood commented Apr 23, 2025

Ran into problem in 12483 because framework hasn't been updated in a while (see below). This should fix it.

What problem was that? Showing an exception doesn't help us understand what you were doing. Our current projects using this repo aren't even actually on the master branch. The current project using this repo is based off of BF-12207(which is moqui upstream from Jun/Oct 2023(mostly)), and then runtime is Sep/2022. Part of the reason the master branch from last year wasn't used, is the version upgrade clashes, in moqui-sftp/moqui-keycloak, that

Include detailed steps as to what you did, what you clicked on, that caused the exception to occur.

@acetousk
Copy link
Collaborator Author

acetousk commented Apr 23, 2025

In the Moqui ui, anytime the makeFormListSingleMap method was called, the screen would not render.

Note that this was with framework branch BF-12879 and runtime 2e49ac4

This made at least the following screens useless:

  • RequestDetail
  • QuickSearch

For example, if I went to the marble dashboard and did any search, the error above would throw and the resulting screen would just be blank.
image

The minimal fix would be:

  • downgrading moqui-runtime
  • upgrading / cherry-picking moqui-framework to commit e9e7a13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.