Skip to content

22Q1.1

Release date: 11/05/2022

Pack version: 22.1.1

New features

EE-134

Set the xsql as public access

Issue Description Set public access DocInvoice_data.xsql DocLineInvoice_data.xsql to use it in custom modules.

Fixed issues

EPL-227

Error when saving and printing reports

Error's description

When trying to save and print a report (for example: an invoice) an empty error window is launched and the action is not executed. The log shows the following error:

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.65]
at java.lang.Thread.run(Thread.java:829) [?:?]
2022-03-18 19:02:18,587 [http-nio-8080-exec-57] INFO org.openbravo.erpCommon.obps.ActivationKey - Loading activation key from DB
2022-03-18 19:04:51,571 [http-nio-8080-exec-58] INFO org.openbravo.erpCommon.obps.ActivationKey - Loading activation key from DB
2022-03-18 19:05:53,897 [http-nio-8080-exec-41] INFO org.openbravo.service.datasource.DefaultDataSourceService - Couldn't find property from additional property product$productName in entity InvoiceLine
2022-03-18 19:06:13,094 [http-nio-8080-exec-49] ERROR org.openbravo.erpCommon.utility.reporting.printing.PrintInvoices - Error captured:
java.lang.NullPointerException: null
at org.openbravo.erpCommon.utility.reporting.printing.PrintController.buildReport(PrintController.java:654) ~[classes/:?]
at org.openbravo.erpCommon.utility.reporting.printing.PrintController.post(PrintController.java:269) [classes/:?]
at org.openbravo.erpCommon.utility.reporting.printing.PrintInvoices.doPost(PrintInvoices.java:57) [classes/:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) [servlet-api.jar:?]
at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:200) [openbravo-core.jar:?]
at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:459) [classes/:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [servlet-api.jar:?]
...

This error occurs on a server but does not occur in a local environment.

Steps to reproduce the error 1. Go to a Sales Invoice 2. Select an existing document 3. Click on 'Print' 4. Select 'Yes' option 5. View the error window

Expected behaviour The option to save the report must be given.

Affected Version Etendo 21Q4.2

EPL-251

Logs are not displayed when the Acct Server Process is executed

Error's description When the accounting process is executed, it is not possible to see the log of this process, although it is executed correctly.

Steps to reproduce the error 1. Go to 'Process Request' window 2. Select 'Acct Server Process' record 3. Go to 'Process Monitor' tab 4. Verify that 'Process Log' column is empty

Expected behavior In 'Process Log' column you should see the process log

Affected Version Etendo 21.4.2 Etendo 22.1.0

EPL-262

No grouped processes are executed

Error's description When a process group is scheduling in process request window, this process never finish

Steps to reproduce the error - Go to process group window - Create a process group with name Test - Add “Alert Process” in Process Group List tab - Add “Costing Background process” in Process Group List tab - Go to Process Request window - Create a new record - Check the field called Group - In the process group field, set the process created called Test - Set the timing as Run Immediately - Press the button Schedule process. - See that process schedule not finish

Expected behavior - The process group should be finish when all of process configured finish - In process Monitor, the end time should not be null and the status should be Success. - Check exists data in Process Request → Process Monitor → Processes in Group tab.

Affected Version Etendo 21.4.2 Etendo 22.1.0