int-upgrade-pgsql - Build # 2338 - Fixed:
Check console output at https://ci.openbravo.com/job/int-upgrade-pgsql/2338/ 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
Changes for Build #2338
Javier Armendáriz <[email protected]> null
Fixed bug 37398: Use default value when TreeDatasourceFetchLimit is not
defined
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-tree.js
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-js.ftl
Inigo Sanchez <[email protected]> null
Fixed issue 37624: Filter on quick launch menu is not accent sensitive
After the changes introduced in the "Improve scalability of the login process"
project on issue #35553, the quick launch menu no longer used the specific
datasource. The datasource has a fieldMatchesFilter method that allow searchs
not distinguish between accent or non-accent words. Since the changes were
introduced, the data is filter in the client instead of in the datasource and
for this reason the fieldMatchesFilter method is not executed.
To fix the problem two main actions have been done:
- Small clean code moving the functionality of fieldMatchesFilter method to
ob-utilities in order to avoid duplicated code.
- The getQuickMenuItems method must be save the identifiers without accents
using the method previosuly created in ob-utilities. It has been done the same
with the value returned in the getPickListFilterCriteria method.
Removing the accents in the items of the filter in ob-quick-launch.js the
problem has been resolved. The accents are now ignored in Quick launch Menu'
suggestion combobox.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
Last 20 lines of the console output:
[...truncated 3094 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-upgrade-pgsql] $ /bin/bash -xe /tmp/hudson4989055117047723449.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