int-inc-pgsql - Build # 3873 - Fixed:
Check console output at https://ci.openbravo.com/job/int-inc-pgsql/3873/ to
view the results.
Committers since last success:
Changes for Build #3872
Augusto Mauch <[email protected]> null
Fixes issue 37643: OBScriptEngine can be used to evaluate javascript scripts
There were four classes that were creating a new instance of ScriptEngine each
time they needed to evaluate a javascript script. This was not the better way
to do it, since creating a ScriptEngine instance can be expensive, and that
class is thread safety if properly used (i.e. by setting the bindings to each
evaluation instead of to the script engine itself).
A new singleton class has been added, OBScriptEngine, that is now used by all
the classes that need to evaluate javascript scripts.
src/org/openbravo/base/expression/OBScriptEngine.java
modules/org.openbravo.client.application/src/org/openbravo/client/application/ParameterUtils.java
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorDefaultFilterActionHandler.java
src/org/openbravo/base/expression/Evaluator.java
Changes for Build #3873
David Miguelez <[email protected]> null
Related to Issue 32729. Code Review changes
Improvmentes in automated tests:
* Set more meaningful names
* Avoid Dal refresh when possible
* Set final to parameters in methods when possible
src-test/src/org/openbravo/test/costing/TestCosting.java
Nono Carballo <[email protected]> null
Added test for issue 32729
src-test/src/org/openbravo/test/costing/TestCosting.java
David Miguelez <[email protected]> null
Related to Issue 37279. Fixes automated test after fixing issue:
* Changed amounts of automated test LC3LC4
* Changed logic asserting the distributed amount of a Landed Cost between
it's related Recipt lines
* For each transacion it calculates it's cost as the original Transaction
Cost plus the Cost of the previous Unit Cost adjustments
* Reload and refresh the Landed Cost object when needed
* Add isNeedPosting variable to costAdjustmentAssertLine and use it to check
if a transaction has been posted or not
src-test/src/org/openbravo/test/costing/TestCosting.java
David Miguelez <[email protected]> null
Fixes Issue 37279. Corrects Transactions affected by Average cost
adjustments
When a Cost Adjustment is created, some transactions are affected by this change
For Average Cost adjustment, the transactions that modifies the average cost,
but has used the actual average cost in it's calculation must be taken into
account.
src/org/openbravo/costing/AverageCostAdjustment.java
Last 20 lines of the console output:
[...truncated 894 lines...]
[javadoc] Loading source files for package
org.openbravo.userinterface.selector.model.domaintype...
[javadoc] Loading source files for package
org.openbravo.userinterface.selector.reference...
[javadoc] Loading source files for package
org.openbravo.userinterface.selectors.test...
[javadoc] Loading source files for package
org.openbravo.userinterface.smartclient...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.7.0_151
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
generate.java.doc.jdk9:
BUILD SUCCESSFUL
Total time: 29 seconds
Checking console output
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds