etendosoftware / etendo_core

Etendo Classic source code
9 stars 10 forks source link

EPL-1703: Validation error in accounting processes . Existence of double negative in code. #442

Closed juanfunes1996 closed 1 month ago

juanfunes1996 commented 1 month ago

Error's description

Validation error in accounting processes . Existence of double negative in code.

Steps to reproduce the error

AcctServerData.java code display . Existence of an incorrect double negative. image

Expected behavior

The correct validation of conditions

Affected Version

Version number: Included in Etendo Core 24.1.1

Solution Design (optional)

Remove double negative to only verify that the object is not empty.

[!IMPORTANT] The double negation introduced during the class refactor has been corrected. However, it is important to note that, according to our investigations, this code no longer executes because the "Process" tab in the "General Ledger Configuration" window is inactive in Etendo in this manner. This error was not detected by our automated tests because it concerns a deprecated functionality that we no longer support.

Other test cases

Given: An accounting process configured and attached in "General ledger" When: The accounting process runs Then: The accounting process is executed

valeg-etendo commented 1 month ago

[!IMPORTANT] Bug resolved in version 24.2.3.