up-2.50topi-oracle - Build # 174 - Failure:

Check console output at https://ci.openbravo.com/job/up-2.50topi-oracle/174/ to 
view the results.


Committers since last success:

Changes for Build #174

    Inigo Sanchez <inigo.sanc...@openbravo.com> null
    Fixed issue 35214:Dropdowns are not opening properly when included in a 
process

The problem is assuming that the selector is placed on a standard view (window).
When a selector is placed on a process definition, the selector raises an error
and no data is showed. It must consider the case where the selector is being
displayed from a process definition view.

This problem has been resolved by take into account when a selector is being
displayed from a process definition. Now, the problem has been fixed.
        
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-filter-select-item.js

    Inigo Sanchez <inigo.sanc...@openbravo.com> null
    Fixed issue 35204: define partial indexes for not null values

The following indexes have been transformed into partial indexes:
-ad_process_run_adprgroup_id
-ad_column_process
-obuiapp_paramval_file_idx
-ad_tab_tabletree_fk
-obuiapp_parameter_tab_idx
-obuiapp_parameter_attmet_idx
-ad_modelobject_reference_idx
-ad_modelobject_form_idx
-ad_modelobject_callout_idx
-ad_modelobject_process_idx
-em_obkmo_param_widget
-obuiapp_parameter_process
-obcql_widget_query_ds
        
modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_PARAMETER.xml
        
modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_PARAMETER_VALUE.xml
        
modules/org.openbravo.client.myob/src-db/database/model/modifiedTables/OBUIAPP_PARAMETER.xml
        
modules/org.openbravo.client.querylist/src-db/database/model/tables/OBCQL_WIDGET_QUERY.xml
        src-db/database/model/tables/AD_COLUMN.xml
        src-db/database/model/tables/AD_MODEL_OBJECT.xml
        src-db/database/model/tables/AD_PROCESS_RUN.xml
        src-db/database/model/tables/AD_TAB.xml

    Armaignac <collazoan...@gmail.com> null
    Fix for issue 35266: General Ledger filter removed when paginating in GL 
Report

The General Ledger filter was removed when paginating in General Ledger Report
in HTML view

Now the General Ledger filter it's save in the session by the FIND action and 
get in the DEFAULT action
for showing in the report page
        src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java

    Victor Martinez Romanos <victor.marti...@openbravo.com> null
    Fixed bug 35263: Organization filter in Best Seller widget

The Best Seller widget didn't have organization filter thus showing records 
belonging to organizations where the role doesn't have access to.

The fix introduces a new parameter to get the readable orgs, and the HQL query 
has been adapated to use it.
        
modules/org.openbravo.client.widgets/src-db/database/sourcedata/OBCQL_WIDGET_QUERY.xml
        
modules/org.openbravo.client.widgets/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml

    Asier Lostalé <asier.lost...@openbravo.com> null
    fixed issue 20515: OBCriteria creates contention at JVM

  When using OBCriteria for same entity by several concurrent threads, there was
  contention at JVM due to locks in Class.forName(entityName).

  This Class.forName(entityName) always results in ClassNotFoundException 
because
  entityName is not an actual class name. Hibernate criteria can accept either 
an
  entity name or a class name. It has been changed to set class name instead of
  entity so that it finds the class in the classloader cache earlier removing 
contention.

  Note when criteria is used for scrolling, Hibernate's flow is different and it
  expects it to be an entity name, though in this case there's no contention 
because
  class is resolved by internal caches. This is also covered in the fix as 
exceptional
  case.
        src/org/openbravo/dal/service/OBCriteria.java
        src/org/openbravo/dal/service/OBDal.java

    sanjota <sanjota.nel...@promantia.com> null
    Related to issue 34993: reverting changes of the issue.

Reverting the changes of the issue due to failure in oracle.
        src-db/database/model/triggers/C_INVOICELINE_TRG2.xml

    Mark <markm...@gmail.com> null
    Related to issue 34993: Update the invoice prepaiment amount with correct 
value
if after create from a paid order line, it updates the line net amount to 0
or it changes from 0 to a another value.

If you create the invoice line from a paid order line, and then the line net 
amount
changes it value to 0 (by updating qty = 0 or price = 0, for instance), then
previously prepayment was remaining instead of be discarded. So, you may have an
invoice with Total Gross Amount of 0 and a prepayment different than 0.

When you are updating a line with a NEW line net amount = 0 or deleting the 
line,
it is needed to remove the prepayment of this line from the invoice.

If the OLD line net amount was zero (the prepayment was removed or not taken 
into
account when creating or updating the line) and it changes
to a non-zero new line net amount value, is necessary take into account the 
prepaid
order line amount to increase the invoice prepayment amount with its value.

In any other case it is not necessary update the prepayment amount of the 
invoice.
        src-db/database/model/triggers/C_INVOICELINE_TRG2.xml

    Mark <markm...@gmail.com> null
    Related to issue 34993: Code review improvements

Removed unnecessary variables and query.
If the invoice line will be deleted always the invoice must update it prepayment
amount. If the invoice line is related to a paid order line, then invoice
prepayment will be updated discounting the prepaid value of the order line, in
other hands the prepayment amount of the invoice will still with its value 
because
there are not any pay related to the order line.
        src-db/database/model/triggers/C_INVOICELINE_TRG2.xml

    sanjota <sanjota.nel...@promantia.com> null
    Fixes issue 34993: Update Prepaymentamt properly on changing the 
Invoicelines.

Update the prepayment amount value in invoice as per updation of invoice lines 
referriing to orderlines.
Ex : If Order linked to invoice line is prepaid, the invoice prepayment is 
updated,
if the same invoiceline referring to orderline is deleted then the prepayment 
amount is updated properly.
        src-db/database/model/triggers/C_INVOICELINE_TRG2.xml

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    Fixed bug 35203: performance problem in DocInvoice with cashvat 
functionality

Solution based on patch supplied by MAL.

Added three new columns to C_INVOICETAX_CASHVAT_V view: c_invoice_id, c_tax_id 
and isprepayment. Note that this won't create a performance issue, since the 
correspondent tables are already included in the view.
Redesign HQL query in CashVATUtil.calculatePrepaidPercentageForCashVATTax() 
method to use those new columns avoiding slow joins to external tables.

After the change the query for this method just uses the C_InvoiceTax_CashVAT_V 
view without joining with other tables thus improving the performance.
        src-db/database/model/views/C_INVOICETAX_CASHVAT_V.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src/org/openbravo/erpCommon/utility/CashVATUtil.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    fixed bug 35260: unneeded flushes in window settings action handler

  * No need to flush before querying with sqlc.
  * This is a readonly process, so we can safelly clear session at the end so
    that flush done when finalizing the thread don't require to check any object
    for dirtiness
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    related to bug 35258: updated dbsourcemanager library
        src-db/database/lib/dbsourcemanager.jar

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    Fixes issue 35241: Random failure in TestCosting when executing it in Oracle
        src-test/src/org/openbravo/test/costing/TestCosting.java

    Mark <markm...@gmail.com> null
    Related to issue 35068: Code review improvements

Used a HQL query instead of a direct SQL query.
        src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java

    Atul Gaware <atul.gaw...@openbravo.com> null
    Fixes Issue 35068: Valued Stock Report is showing warehouses that do not
belong to the organization included in the filter

Selected warehouse or list of applicable warehouse for selected
organization sent as parameter to queries fetching valued stock
data.
        src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java
        src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_data.xsql




Last 20 lines of the console output:

[...truncated 4517 lines...]
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_FIELD.xml 
Sat Feb 18 14:41:06 2017 +0000
--- 
a/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_FIELD.xml
    Thu Feb 16 09:55:22 2017 +0100
+++ 
b/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_FIELD.xml
    Sat Feb 18 14:41:06 2017 +0000
--- 
a/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_FIELD.xml
  Thu Feb 16 09:55:22 2017 +0100
+++ 
b/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_FIELD.xml
  Sat Feb 18 14:41:06 2017 +0000
--- 
a/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_FIELD.xml
      Thu Feb 16 09:55:22 2017 +0100
+++ 
b/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_FIELD.xml
      Sat Feb 18 14:41:06 2017 +0000
--- 
a/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_FIELD.xml
 Thu Feb 16 09:55:22 2017 +0100
+++ 
b/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_FIELD.xml
 Sat Feb 18 14:41:06 2017 +0000
--- a/src-db/database/model/tables/AD_PROCESS_RUN.xml   Thu Feb 16 09:55:22 
2017 +0100
+++ b/src-db/database/model/tables/AD_PROCESS_RUN.xml   Sat Feb 18 14:41:06 
2017 +0000
-        <whereClause><![CDATA[AD_PROCESS_RUN_GROUP_ID IS NOT 
NULL]]></whereClause>
--- a/src-db/database/sourcedata/AD_FIELD.xml   Thu Feb 16 09:55:22 2017 +0100
+++ b/src-db/database/sourcedata/AD_FIELD.xml   Sat Feb 18 14:41:06 2017 +0000
+ exit 1
Build step 'Execute shell' marked build as failure
Checking console output
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
Openbravo-builds@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to