int-upgrade-pgsql - Build # 2337 - Failure:

Check console output at https://ci.openbravo.com/job/int-upgrade-pgsql/2337/ to 
view the results.


Committers since last success:

Changes for Build #2337

    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

    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




Last 20 lines of the console output:

[...truncated 2118 lines...]
+ (( i=0 ))
+ (( i<12 ))
++ jps
++ grep Bootstrap
++ true
+ '[' '' = '' ']'
+ break
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
+ true
+ '[' 0 '!=' 0 ']'
+ echo

POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
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

Reply via email to