int-api - Build # 3719 - Fixed:

Check console output at https://ci.openbravo.com/job/int-api/3719/ to view the 
results.


Committers since last success:

Changes for Build #3716

    RM packaging bot <staff...@openbravo.com> null
    Merge back from main
      
    RM packaging bot <staff...@openbravo.com> null
    Merge temporary head for 3.0PR18Q4
      
    RM packaging bot <staff...@openbravo.com> null
    Added signature for changeset 75b4bc3d1f6f
        .hgsigs

    RM packaging bot <staff...@openbravo.com> null
    Added tag 3.0PR18Q4 for changeset 9a7acd649cfc
        .hgtags

    RM packaging bot <staff...@openbravo.com> null
    Update AD_MODULE version to 3.0PR18Q4
        
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.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.apachejdbcconnectionpool/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

    Atul Gaware <atul.gaw...@openbravo.com> null
    Related TO Issue 39756: Backout changeset 0e09c8a5cee9
        src/org/openbravo/dal/service/OBDal.java

    Atul Gaware <atul.gaw...@openbravo.com> null
    Related to Issue 39756:Backout Changeset f1af76aa3011
        src/org/openbravo/dal/service/OBDal.java

    Sandra Huguet <sandra.hug...@openbravo.com> null
    related to issue 39753 backed out changeset 0ca8d4ff4709
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java

    Sandra Huguet <sandra.hug...@openbravo.com> null
    related to issue 39756 code review changes

Not necessary to return the id. Only creates the lock.
Use createNativeQuery and improve code.
        src/org/openbravo/dal/service/OBDal.java

    Sandra Huguet <sandra.hug...@openbravo.com> null
    related to issue 39753 use lockForNoKeyUpdate instead of lockFinAccount

Use lockForNoKeyUpdate instead of use lockFinAccount in which a
"FOR UPDATE" is done and is too agressive.
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java

    Sandra Huguet <sandra.hug...@openbravo.com> null
    Fixed issue 39756 added in OBDAL lockForNoKeyUpdate

new lockForNoKeyUpdate method to allow the use "FOR NO KEY UPDATE",
because "FOR UPDATE" in PostgreSQL is too aggressive.
        src/org/openbravo/dal/service/OBDal.java

    Sandra Huguet <sandra.hug...@openbravo.com> null
    Fixed issue 39753 reduce lock and calculate the current balance at the end 
of the process
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    fixes bug 39661: Standard DS isn't returning information of deactivated orgs

  Before this changeset[1] access to inactive organization was being given 
because getOrganizationStructureProvider().getNaturalTree(o)) does not filter 
by active organizations.

  Now that method is not being invoked when having direct access to "0" but the 
getOrganizations() method which indeed filters by active organizations.

  In order to be consistent, now the getOrganizations() method does no longer 
filter by active.
        src/org/openbravo/dal/core/OBContext.java

    Pablo Lujan <pablo.lu...@openbravo.com null
    Updates to 2019 year and periods
        referencedata/sampledata/QA_Testing/C_PERIOD.xml
        referencedata/sampledata/QA_Testing/C_YEAR.xml

    Carlos Aristu <carlos.ari...@openbravo.com> null
    fixes issue 39650: Cannot send mail using EmailEventManager

  A NPE was being thrown when sending emails through the EmailEventManager 
because it was missing to send the email recipient
        src/org/openbravo/email/EmailEventManager.java

    Augusto Mauch <augusto.ma...@openbravo.com> null
    Fixes issue 39621: Tab display logic works when direct opening a header tab

Before this change, when a window was opened by clicking on a column title, the 
display logic of the
tabs of the window were not evaluated. This was done because if the tab opened 
was a subtab, that tab
should be visible, regardless of that tab's display logic.

But there is no need to enforce that logic when the tab opened is a header tab. 
This changeset evaluates
the display logics of the tabs if the tab opened directly is a header tab.
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js

    Atul Gaware <atul.gaw...@openbravo.com> null
    Fixes Issue 39611: Requisition window - columns are not displayed
when selecting the product

Set auxiliar input gross price value as Y or N or blank depending
on the price list if selected, IsTaxIncluded flag Yes or No or
price list is left blank respectively.
        src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    fixed bug 39603: can't execute DB updates after killing a connection

  Audit Trail infrastructure (ad_context_info in PG) is initialized each time a
  new connection is created. We incorrectly assumed a PooledConnection is always
  associated with a single Connection instance, which is not true in case 
Connection
  gets corrupted or killed, in this case Tomcat pool transparently re-associates
  a new connection with existent PooledConnection.

  We are now caching in PooledConnection actual Connection to detect this case
  so it can be initialized again.
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/ConnectionInitializerInterceptor.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    fixed bug 39577: cannot send email with JDK10+

  It was not possible because mail libraries relies on some classes that were
  in hidden modules by default starting from JDK 10 and completelly reomved in
  11.

  Fixed by replacing javax.activation-api-1.2.0 by javax.activation-1.2.0
  (com.sun.activation:javax.activation).

  Note javax.activation-api is not purely an API but it also includes 
implementation
  for classes in javax.activation package (which was included in previous JDKs)
  but it depends on classes in com.sun.activation which have also been removed
  from JDK and not included in activation-api jar but yes in activation one.

  The contents of javax.activation package are identicall in both jars.

  Note also javax.mail-1.6.1 depends on activation-1.1 
(javax.activation:activation)
  to manage MIME data, that version was released in 2009; newer 
javax.activation-1.2.0
  (2017) has same API including new fixes.
        lib/runtime/javax.activation-1.2.0.jar
        legal/Licensing.txt
        lib/runtime/javax.activation-api-1.2.0.jar

    Asier Lostalé <asier.lost...@openbravo.com> null
    fixed bug 39520: false local changes positive restoring PG 9.3 dump on PG 10

  After restoring in PG 10 a DB dump taken in PG 9.3, first update.database run
  incorrectly detects local changes.

  This was caused by many new functions added in PG 10 to trigram extension, 
those
  functions were unnecessarily included in the model checksum used to check if
  there are local changes.

  Now those functions are excluded: as dbsm only supports plsql functions, we 
now
  filter out all the ones implemented by binary code, which is how typically
  extension functions are implemented.
        src-db/database/model/prescript-PostgreSql.sql

    Antonio Moreno <antonio.mor...@openbravo.com> null
    Related to issue 39445. Improved comment and log.
        src/org/openbravo/base/secureApp/HttpSecureAppServlet.java

    Antonio Moreno <antonio.mor...@openbravo.com> null
    Fixed issue 39445. The terminal does not go to offline mode if the database 
is colapsed but the tomcat works
When there is an exception in the critical part of the HttpSecureAppServlet 
which tries to detect if the client is authenticated, we should not necessarily 
force a logout and reply with '401- Not authenticated' response. Instead, the 
appropriate action is to just return a '500-Internal Server Error' response. 
Logging out in this case may kill a valid request when the server is 
temporarily overloaded, and makes no sense, and the 401 response may confuse 
the client, thinking that it needs to do login again when in reality, the 
problem is just that the server is either overloaded, or affected by some 
serious problem which prevents even basic authentication checking to work.
        src/org/openbravo/base/secureApp/HttpSecureAppServlet.java

    Antonio Moreno <antonio.mor...@openbravo.com> null
    Related to issue 39445. Backport hasNoConnections method.
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java
        src-core/src/org/openbravo/database/ExternalConnectionPool.java

    Mark <markm...@gmail.com> null
    Fixes issue 39454: "Create Lines From" on Goods Receipt not working properly
when using Alternate UOM

Was taking as the AUM Qty the original value from the line instead of the value
defned on the P&E, this way if the value is changed, for instance for partiall 
receipts
then the process will create a line with the selected quantity instead of the 
entire
quantity of the original line wich is creating from.
        src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java

    Augusto Mauch <augusto.ma...@openbravo.com> null
    Fixes issue 39412: Prevents unintended formitem value change if focus 
changes

There was a problem in this redraw function [1]. It did the following:
1) Get the value of the focused item (this.getFocusItem().getValue())
2) Redraw the form (this.Super('redraw', arguments);)
3) Restore the value of the focused item if the value changed during the redraw 
(this.getFocusItem().setElementValue(focusItemValue);)

The problem was that under some circumstances the focusedItem itself changed 
during the redraw, so the form items returned by this.getFocusItem()
in steps 1) and 3) are different, and the value from one form item was copied 
into another form item.

This problem has been fixed by storing in a variable the focused form item 
before the step 1), and the use that reference in the rest of the
function instead of reinvoking this.getFocusItem()

[1] 
https://code.openbravo.com/erp/devel/pi/file/tip/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js#l2157
 [^]

---
M 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js:
 Enter commit message.  Lines beginning with 'HG:' are removed.
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js

Changes for Build #3717

    Asier Lostalé <asier.lost...@openbravo.com> null
    related to issue 39672: added test cases
        src-test/src/org/openbravo/test/dal/DalLockingTest.java
        src-test/src/org/openbravo/test/AllAntTaskTests.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    related to issue 39672: improved javadoc
        src/org/openbravo/dal/service/OBDal.java

Changes for Build #3718
No changes

Changes for Build #3719
No changes




Last 20 lines of the console output:

[...truncated 497 lines...]
Total: 100% good

Error Summary:

Errors:
+ exit 0
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/hudson3028238994954461305.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
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed
_______________________________________________
Openbravo-builds mailing list
Openbravo-builds@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to