int-basic-oracle - Build # 840 - Failure:

Check console output at https://ci.openbravo.com/job/int-basic-oracle/840/ to 
view the results.


Committers since last success:

Changes for Build #840

    RM packaging bot <[email protected]> null
    Merge back from main
      
    RM packaging bot <[email protected]> null
    Merge temporary head for 3.0PR14Q3.8
      
    RM packaging bot <[email protected]> null
    Added signature for changeset 3e694db637e2
        .hgsigs

    RM packaging bot <[email protected]> null
    Added tag 3.0PR14Q3.8 for changeset 5eac2dd74fd7
        .hgtags

    RM packaging bot <[email protected]> null
    Update AD_MODULE version to 3.0PR14Q3.8
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        src-db/database/sourcedata/AD_MODULE.xml

    Augusto Mauch <[email protected]> null
    Fixes bug 29380: Warehouse field of Manage Reservation P&E shows a proper 
value

The is a bug in that P&E, reported here [1], that makes the FIC return the 
wrong value for the warehouse field of the Manage Reservation P&E window. 
Before [2] was fixed, [1] did not have any consequences, as the value returned 
by the FIC was not set to the row being edited.

To fix this, the values returned by the FIC are only set if the field is 
editable. [1] will have to be fixed anyway, because even if now it does not 
crete problems in this flow, it could be causing problems in others.

[1] https://issues.openbravo.com/view.php?id=29381
[2] https://issues.openbravo.com/view.php?id=28727
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js

    Sandra Huguet <[email protected]> null
    related to issue 29021, related to issue 29051, related to issue 29052

improve the error message
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
        
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js

    Sandra Huguet <[email protected]> null
    related to issue 29147
        
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js

    Augusto Mauch <[email protected]> null
    Fixes bug 29097: A menu tree node can be moved with a template in 
development

When the Openbravo Trees were reimplemented [1], there was a problem 
reimplementing the logic done when a Menu tree item is moved. Before the 
reimplementation, it was possible to move a menu tree item if the module it 
belonged to was in development or if there was any template module in 
development. The reimplementation did not take into account the templates, so 
from then on it has not been possible to moved menu tree nodes having a 
template in development.

To fix this, templates are taken into accout in the MenuTreeOperationManager 
class.

[1] https://issues.openbravo.com/view.php?id=25906
        
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/treeChecks/MenuTreeOperationManager.java

    Sandra Huguet <[email protected]> null
    related to issue 29147

the validation only has to be considered when overpayment combo is visible
        
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js

    Unai Martirena <[email protected]> null
    Related to bug 29265: Delete obaprmAllRecordsSelectedByUser in OrderInvoice 
Load

While executing invalidateCache() function to reload OrderInvoice grid it 
internally calls to 'OB.APRM.AddPayment.deselectAllRecords' overriden method 
that sets obaprmAllRecordsSelectedByUser property to true. This property is 
only needed when manually the select/unselect all checkbox is clicked.

This was causing on certain scenarios that methods to update totals were not 
being called:
* OB.APRM.AddPayment.updateInvOrderTotal(view.theForm, orderInvoice);
* OB.APRM.AddPayment.updateActualExpected(view.theForm);
* OB.APRM.AddPayment.updateDifference(view.theForm);

So, in order to avoid this in OrderInvoiceOnLoad function, if the property 
'obaprmAllRecordsSelectedByUser' exists, it will be deleted.
        
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js

    Alvaro Ferraz <[email protected]> null
    Related to issue 29292: Update copyright
        src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java
        src/org/openbravo/erpCommon/businessUtility/PriceAdjustment.java

    Atul Gaware <[email protected]> null
    Fixes Issue 29292:The sales order is not taking into account the unit price 
of
the product when is 0

Corner case regression, when ever unit price is set to zero in the price list
        src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java
        src/org/openbravo/erpCommon/businessUtility/PriceAdjustment.java

    Asier LostalĂ© <[email protected]> null
    fixed bug 29325: attachment download of different records at once fails

  It generated an invalid zip file.

  The problem was it tried to find the attachment directory based on the whole
  list of ids to download instead of splitting it.
        src/org/openbravo/erpCommon/businessUtility/TabAttachments.java

    Sandra Huguet <[email protected]> null
    Fixed bug 29147: Used credit is not correct under certain circumstances
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
        
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js

    Augusto Mauch <[email protected]> null
    Fixes bug 29294: valueMap and value of combo item is properly set in P&E 
window

There were two things missing in the previous fix:
- The attribute names of the valueMap were not proper
- The value of the combo item should be set after defining its valueMap, 
otherwise the value is lost
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js

    Sandra Huguet <[email protected]> null
    Fixed bug 29150 improve performance in UpdatePaymentPlan modulescript
        
src-util/modulescript/build/classes/org/openbravo/modulescript/UpdatePaymentPlan.class
        
src-util/modulescript/build/classes/org/openbravo/modulescript/UpdatePaymentPlanData.class
        
src-util/modulescript/build/javasqlc/src/org/openbravo/modulescript/UpdatePaymentPlanData.java
        
src-util/modulescript/src/org/openbravo/modulescript/UpdatePaymentPlan.java
        
src-util/modulescript/src/org/openbravo/modulescript/UpdatePaymentPlan_data.xsql

    Augusto Mauch <[email protected]> null
    Fixes issue 29294: valueMap is properly initialized in pick and execute 
windows

The problem was that when a line in a pick and execute grid was edited, the 
valueMap of its OBFKComboItems was not properly initialized. The initialization 
is done in the OBPickAndExecuteGrid.processColumnValue function.

Before the Openbravo combos was refactored, the columnValue parameter used to 
contain the full valueMap of the combo in its entries attribute. This atribute 
was passed to the OBPickAndExecuteGrid.setValueMap, and the valueMap of the 
combos was initialized. The problem was that since the combos was refactored 
the columnValue parameter no longer contained the entries attribute, because 
the FIC now only returns the selected value. To fix this, in this case the 
valueMap is built manually based on the column value and identifier. This 
valueMap is passed to the OBPickAndExecuteGrid.setValueMap function to 
initialize the field valueMap.
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js

    Augusto Mauch <[email protected]> null
    Related with issue 29294: Checks if the okButton exists to prevent error in 
log
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js

    Unai Martirena <[email protected]> null
    Fixes bug 29265 Improved performance select/deselect all records in 
OrderInv grid
        
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js

    Augusto Mauch <[email protected]> null
    Fixes issue 29254: 0 can be used to filter numeric columns

In this changeset [1] this code was added to the 
OBNumberItem.parseValueExpressions function:

     ret = this.Super('parseValueExpressions', [value, fieldName, operator]);
+
+    // if operator is not supported remove it
+    if (!this.validOperators.contains(ret.operator)) {
+      ret.operator = '';
+      ret.value = '';
+      this.setValue('');
+    }
     if (ret && ret.start) {
       ret.start = this.convertToTypedValue(ret.start);
     }

The problem is that if the provided value is 0, 
this.Super('parseValueExpressions', [value, fieldName, operator]) will return 
undefined. This happens because of a bug in smartclient's implementation of the
 parseValueExpressions function. This code is placed at the beginning of that 
function:

        if (!value) value = this.getValue();
        if (!value) return;
        if (!isc.isA.String(value)) value += "";

If the provided value is 0, the value will be taken from this.getValue(). The 
returned value will again be evaluated to false, so the function will not 
return any value. Right after that, there is a comman
d to convert the provided value to String.

To fix this, in the call to this.Super('parseValueExpressions'), the string 
representation of the number will be passed instead of its numerical value. 
This way smartclient will accept the value and will n
ot return undefined. Smartclient was already converting the passed values to 
String, so there is no risk there.

The value passed to the OBNumberItem.parseValueExpressions is not modified to 
prevent unexpected consequences. A copy of it is converted to string and passed 
to the this.Super('parseValueExpressions') func
tion.

[1] 
https://code.openbravo.com/erp/devel/pi/rev/d9ce373c75dad51598fb943d75e4d8e56f1d56eb
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-number.js

    Alvaro Ferraz <[email protected]> null
    Related to issue 29251: Added a clear inside the loop

Added a clear inside the loop to avoid performance problems
        src/org/openbravo/event/GLJournalEventHandler.java

    Atul Gaware <[email protected]> null
    Fixes Issue 29251:It is not possible to change currency in header tab in 
G/L Journal

As there is trigger mutating error, updation of gl journal line currency and
currency rate is moved to a event handler from gl_journal_trg trigger.
        src/org/openbravo/event/GLJournalEventHandler.java
        src-db/database/model/triggers/GL_JOURNAL_TRG.xml

    Asier LostalĂ© <[email protected]> null
    fixed issue 29156: added log on table recreation when updating database
        src-db/database/lib/dbsourcemanager.jar

    Sandra Huguet <[email protected]> null
    Fixed issue 29021 It is possible to process Payment Out without set amount

Added a new validation in process button because it is not possible
to add a glitem with both amounts equal to 0.
Added a default value in received in and paid out fields in glitem
grid.
        
modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js

    Alvaro Ferraz <[email protected]> null
    Fixes issue 29029: SL_Journal_Period raises a NullPointer Exception

AcctSchema will be retrieved only if acctSchemaId is not null (G/L Journal 
Header tab). In other case (G/L Journal Batch tab) it will not.
        src/org/openbravo/erpCommon/ad_callouts/SL_Journal_Period.java

    Augusto Mauch <[email protected]> null
    Fixes issue 29010: Grid is actually filtered using relative dates

The problem was that when a relative date filter was added to the grid and then 
used in a saved view, the saved view will not apply the relative date filter, 
but an absolute one. This was caused by this code in the 
OBViewGrid.convertCriteria function:

    if (this.dataSource) {
      criteria = this.dataSource.convertRelativeDates(criteria);
    }

Every time that a criteria is sent to the backend (i.e. when storing a saved 
view), the criteria objects that contained relative dates wwere converted to 
absolute dates. This was done to fix this issue
 [1], its problem being that the datasource used to populate the filter drop 
down did not support relative dates.

The function where that code was placed was too central, the criterias 
converted should have been only the ones used to populate the filter drop 
downs, but all the criterias were being converted. To fix this, the code has 
been adapted and moved to the OBFKFilterTextItem.getPickListFilterCriteria 
function.
[1] https://issues.openbravo.com/view.php?id=27679
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js

    RM packaging bot <[email protected]> null
    CI: merge back from main
      
    RM packaging bot <[email protected]> null
    CI: update AD_MODULE to version 26226
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        src-db/database/sourcedata/AD_MODULE.xml




Last 20 lines of the console output:

[...truncated 13305 lines...]
    [junit] 
    [junit] Error: 
    [junit] Mar 24, 2015 4:41:34 PM org.openqa.selenium.remote.Augmenter 
extractRemoteWebDriver
    [junit] WARNING: Augmenter should be applied to the instances of 
@Augmentable clases or previously augmented instances only
    [junit] 

BUILD FAILED
/srv/ci/workspace/int-basic-oracle/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/build.xml:40:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-oracle/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/procurement/build.xml:29:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-oracle/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/procurement/build.xml:42:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-oracle/SANDBOX/automation/pi/build.xml:71: Test 
com.openbravo.test.integration.erp.testsuites.smoke.procurement.PROb_OrderAndPaymentToInvoice
 failed

Total time: 45 minutes 5 seconds
Build step 'Execute managed script' marked build as failure
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Failure
Sending email for trigger: Failure
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to