int-modules-pgsql - Build # 2534 - Fixed:
Check console output at https://ci.openbravo.com/job/int-modules-pgsql/2534/ to
view the results.
Committers since last success:
Changes for Build #2533
David Miguelez <[email protected]> null
Related to Issue 37279. Added sleeps to automated test cases to avoid
problems while launching them in Oracle.
src-test/src/org/openbravo/test/costing/TestCosting.java
David Miguelez <[email protected]> null
Related to Issue 37640. Updated license year
src-db/database/model/functions/M_PROMOTION_CALCULATE.xml
Atul Gaware <[email protected]> null
Fixes Issue 37640: Trying to separate discounts using different
organizations that are not in the same branch DOES NOT separate
these discounts
** Apply offers (discount and promotion) to the lines whose order
organization is in organization tree of the offer organization.
src-db/database/model/functions/M_PROMOTION_CALCULATE.xml
src/org/openbravo/erpCommon/businessUtility/PriceAdjustment.java
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
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 #2534
Carlos Aristu <[email protected]> null
related to issue 37643: avoid definining getInstance() method as
synchronized
The instance variable is now initialized on first class load instead.
src/org/openbravo/base/expression/OBScriptEngine.java
Last 20 lines of the console output:
[...truncated 3364 lines...]
[ "$(jps | grep Bootstrap || true)" = "" ] && break
sleep 5
done
[ "$(jps | grep Bootstrap || true)" != "" ] && echo "Tomcat has fail to stop"
&& exit 1 || true
[ "$i" != "0" ] && secs=$(echo "$i * 5" | bc) && echo "Waiting for $secs secs
for tomcat to stop"
echo
fi
[int-modules-pgsql] $ /bin/bash -xe /tmp/hudson7208596972757887776.sh
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
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