int-api - Build # 2366 - Still Failing:
Check console output at https://ci.openbravo.com/job/int-api/2366/ to view the
results.
Committers since last success:
Changes for Build #2365
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Add comments
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Exclude M+ in case M- also in CostAdjustmentUtils
Exclude M+ in case M- also in CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate as it is done in
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Make another API change
Send currency to CostAdjustmentUtils.getStockOnTransactionDate and
CostingUtils.getCurrentStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Make an API change
Add MaterialTransaction trx parameter to CostingUtils.getCurrentStock and
CostingUtils.getCurrentValuedStock methods.
Also, remove product and date unneeded parameters and add areBackdatedTrxFixed
parameter to avoid get again the costingRule.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Remove cumstock and cumcost assert in TestCosting
src-test/src/org/openbravo/test/costing/TestCosting.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Use cumulated values when movement date is the same
Use also cumulated values in CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate methods when trx and ctrx
movementdate is the same.
Also, truncate movementdate before comparing it.
src/org/openbravo/costing/CostAdjustmentUtils.java
David Miguelez <[email protected]> null
Fixes issue 33968: Avoid errors with Goods Movements
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Avoid another API change
Use client or organization currency to round cumstock and cumcost, to avoid
send currency to CostAdjustmentUtils.getStockOnTransactionDate and
CostingUtils.getCurrentStock and avoid the API change.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Send parameters in order
Send parameters in order, first currency and then costing, to
CostAdjustmentUtils.getStockOnTransactionDate and CostingUtils.getCurrentStock.
Round also cumstock and cumcost when transaction is the costing transaction.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 33968: Fix rounding issue when cumulate stock has many decimals
Round cumcost and cumstock to currency cost precision before divide them to
calculate cost to avoid rounding issues in
CostAdjustmentUtils.getStockOnTransactionDate,
CostAdjustmentUtils.getValuedStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/AverageCostAdjustment.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingServer.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Move getNegativeStockAdjustments method
Move AverageCostAdjustment.getNegativeStockAdjustments method to the end of the
file and add documentation.
src/org/openbravo/costing/AverageCostAdjustment.java
David Miguelez <[email protected]> null
Fixes issue 33968: Revert negative adjustment if needed by BDT
Revert negative adjustment when a backdated transaction turns negative stock
into positive stock.
src/org/openbravo/costing/AverageCostAdjustment.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Truncate also transaction movement date
Truncate also transaction movement date when compering it with costing rule fix
backdated from date in CostingServer.java.
Truncate also transaction movement date and costing rule fix backdated from
date for costing rules with standard algorithm.
src/org/openbravo/costing/CostingServer.java
David Miguelez <[email protected]> null
Fixes issue 33968: Truncate costing rule fix backdated from date
Truncate costing rule fix backdated from date when compering it with
transaction movement date in CostingServer.java.
src/org/openbravo/costing/CostingServer.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Return costing cumulated values if trx is costing
trx
Return costing cumulated values if trx is costing trx in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Avoid API change
Add cumcost not null restriction and retrieve unique result in
AverageAlgorithm.getLastCumulatedCosting.
Avoid API change by calculating correct date outside the method and removing
unneeded transaction parameter in CostingUtils.getCurrentStock and
CostingUtils.getCurrentValuedStock.
Use AverageAlgorithm.getLastCumulatedCosting also in
CostAdjustmentUtils.getValuedStockOnTransactionDate.
Call to AverageAlgorithm.getLastCumulatedCosting with movementdate or
trxprocessdate depending on areBackdatedTrxFixed in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 33968: Use getLastCumulatedCosting instead of getProductCost
Use AverageAlgorithm.getLastCumulatedCosting instead of
AverageAlgorithm.getProductCost to retrieve last costing entry with cumulated
values in CostAdjustmentUtils.getStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/AverageAlgorithm.java
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Rename movementdate and dateFrom parameters
Rename movementdate and dateFrom parameters to cmvtdate and ctrxdate and use
costing transaction trxprocessdate instead of costing starting date in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
David Miguelez <[email protected]> null
Fixes issue 33968: Add movementdate filter in CostAdjustmentUtils in case
BDT
Add movementdate filter in case costing rule allows backdated transactions in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Retrieve costing transaction only once
Retrieve costing transaction only once in
CostAdjustmentUtils.getStockOnTransactionDate,
CostAdjustmentUtils.getValuedStockOnTransactionDate,
CostingUtils.getCurrentStock and CostingUtils.getCurrentValuedStock.
src/org/openbravo/costing/CostAdjustmentUtils.java
src/org/openbravo/costing/CostingUtils.java
David Miguelez <[email protected]> null
Fixes issue 33968: Filter by costing transaction instead of current
transaction
Filter by costing transaction instead of current transaction when
existsCumulatedStockOnTrxDate or existsCumulatedValuationOnTrxDate in
CostAdjustmentUtils.getStockOnTransactionDate and
CostAdjustmentUtils.getValuedStockOnTransactionDate.
src/org/openbravo/costing/CostAdjustmentUtils.java
Alvaro Ferraz <[email protected]> null
Related to issue 33968: Code review improvements
src/org/openbravo/costing/AverageCostAdjustment.java
David Miguelez <[email protected]> null
Fixes issue 33968: Wrong costs calculated with Backdated Transactions
CumStock and CumCost will not be calculated in case there is a cost adjustment.
src/org/openbravo/costing/AverageCostAdjustment.java
Changes for Build #2366
Asier Lostalé <[email protected]> null
fixed bug 34201: can't create import entries while changing role org access
Removed deprecated client and org list in ad_role because the trigger that
kept
them in sync was craeting contention for insertions into import entry.
src-db/database/model/tables/AD_ROLE.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src-db/database/sourcedata/AD_FIELD.xml
src-test/src/org/openbravo/test/dal/IssuesTest.java
src-test/src/org/openbravo/test/datasource/DataSourceSecurity.java
src-test/src/org/openbravo/test/role/inheritance/RoleInheritanceTestUtils.java
src-test/src/org/openbravo/test/security/ExplicitCrossOrganizationReference.java
src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
src-db/database/model/triggers/AD_ROLE_ORGACCESS_TRG.xml
Last 20 lines of the console output:
[...truncated 599 lines...]
method org.openbravo.model.ad.access.Role.setClientList(java.lang.String):
missing in /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
method
org.openbravo.model.ad.access.Role.setOrganizationList(java.lang.String):
missing in /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
+ failure=1
+ exit 1
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : cp
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
[int-api] $ /bin/bash -xe /tmp/hudson2015303265238409483.sh
+ cp /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Checking console output
/srv/ci/jobs/int-api/builds/2366/log:
[checkAPI] 11347 ERROR -
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds