Hi All I am getting a proxy error and server not found for: http://www.adempiere.io/
502 proxy error Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: Error reading from remote server
I am trying to find out what changed in the Allocations in the update to Version: 3.9.3
Allocations created before the 3.9.3 update are giving problems.
Result: delete #0
ERROR: update or delete on table "fact_acct" violates foreign key constraint "factacct_factreconciliation" on table "fact_reconciliation"
Detail: Key (fact_acct_id)=(1004894) is still referenced from table "fact_reconciliation".
On the web UI it does not show the document type as allocation whereas on the java client it shows it.
When trying to void it on the web UI, the error given is: Fill in mandatory fields: Document Type
Any ideas what to check or how to fix this?
I am still having a problem
I think it has something to do with the update to 3.9.3
Issue: subsequent to an update, two things changed:
Unreconciled allocations can still not be deleted. However, there is a difference:
the allocations with the new numbering sequence (starting 5...AL) and the document type allocation can be reset whereas the allocations with previous document sequencing (starting 2....) and missing document type cannot be reset.
I have done a test and set the old document type to Allocation in the database but this has not helped.
What we are trying to achieve: some of the allocations cannot be reconciled as due to currency differences the payments to not match the invoice. I would like to reset the allocations and allocate the currency difference to a charge to make it matching.
@e-Evolution @yamelsenih I found an issue with the ProcessBuilder. As a static method, I can "hijack" the process if I'm running more than one process at a time. In my case, I have one process, call it Process1, that I have to run multiple times. I have another process, Process2, that I'm going to run in between the runs of Process1. I can reduce code duplication by creating a
processorForProcess1 using the ProcessBuilder where I set the parameters and then call
processorForProcess1.execute() each time I want to run it. It works the for multiple runs as expected. But when I use the ProcessBuilder to execute Process2, the next time I call
processorForProcess1.execute()again, it reruns Process2.
I think the problem is the static constructor used by the ProcessBuilder and the internal static processBuilder field. I'd suggest we deprecate these and use a non-static constructor instead.
ProcessBuilder processor = ProcessBuilder.with...; // should be ProcessBuilder processor = new ProcessBuilder().with...;
What do you think?