int-initial-oracle - Build # 1764 - Unstable:
Check console output at https://ci.openbravo.com/job/int-initial-oracle/1764/
to view the results.
Committers since last success:
Changes for Build #1764
Naroa Iriarte <[email protected]> null
Fixed issue 33853: There were too much DS request
When a column with a summary function was set, if any of the grid columns was
reordered, there were three DS requests triggered. To fix the problem two
different things have been done. The first, in ob-view-grid.js, consists on
setting the showGridSummary property to false before the call to the function
"reorderField" of the Super- This avoids one flow of smartclient which was, at
the end, triggering two DS requests.
The second approach is also in ob-view-grid, but also in ob-grid. The problem
was that when the ob-grid.getSummaryRow function was invoked, the return
statement was calling the "getSummaryRow" function of the Super. There, once
again a DS request was triggered. To fix this, a new object has been created.
This object contains three properties. One of them is a property which is true
if the columns have been reordered.
Now, in the ob-grid.getSummaryRow, if that property is true and if there is a
summary function, the summary row is returned.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Alvaro Ferraz <[email protected]> null
Related to issue 34713: Code review improvements
Fix also getLastCumulatedCosting method.
src/org/openbravo/costing/AverageAlgorithm.java
Alejandro <[email protected]> null
Fixes issue 34713: getProductCost() is not checking if product is production
If a product is defined as "production", when costing is checked for
that product, "getProductCost" method in AverageAlgorithm.java was filtering by
"warehouse" dimension (in case costing rule is defined like this) so error "No
average cost found for given product and date" was raised, when it should not.
The proposed solution has been implemented, adding a validation when
constructing
the "where" condition, so now there is no error.
src/org/openbravo/costing/AverageAlgorithm.java
Asier Lostalé <[email protected]> null
fixed issue 34728: removed unneeded file authorisations.txt
src-test/src/org/openbravo/test/authorisations.txt
Last 20 lines of the console output:
[...truncated 7030 lines...]
DEBUG: Tomcat stop called with parameters: ENABLED=ENABLE
* Stopping Tomcat servlet engine for Openbravo tomcat
...done.
executing script 'Check openbravo log'
[int-initial-oracle] $ /bin/bash /tmp/build_step_template5389832896944618985.sh
ENABLE
DEBUG: Check openbravo log called with parameters: ENABLED=ENABLE
Errors in openbravo log (artifact: int-initial-oracle.log):
b3e0edee 2016-12-14 17:00:07,020 [DefaultQuartzScheduler_Worker-3] ERROR
org.openbravo.service.db.DalBaseProcess - The process
org.openbravo.costing.CostingBackground has thrown an exception.
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
/srv/ci/workspace/int-initial-oracle/SANDBOX/openbravo.log:
b3e0edee 2016-12-14 17:00:07,020 [DefaultQuartzScheduler_Worker-3] ERROR
org.openbravo.service.db.DalBaseProcess - The process
org.openbravo.costing.CostingBackground has thrown an exception.
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)
------------------------------------------------------------------------------
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