int-gui-pgsql - Build # 1603 - Still Unstable:

Check console output at https://ci.openbravo.com/job/int-gui-pgsql/1603/ to 
view the results.


Committers since last success:

Changes for Build #1600

    Alvaro Ferraz <[email protected]> null
    Related to issue 32535: Code review improvements

- Set login organization general ledger if report organization is empty in 
Balance Sheet and P&L structure report.
- Avoid change general ledger after click on search button in General Ledger 
Report, Journal Entries Report and Trial Balance reports.
        src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
        src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html
        src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
        src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.html
        src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
        src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
        src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.java

Changes for Build #1601
No changes

Changes for Build #1602

    Naroa Iriarte <[email protected]> null
    Fixed issue 33051: The "hasGeneralAccess" method is called twice

The HttpSecureAppServlet.hasGeneralAccess method is called twice
when a window is refresed or opened, for example "Sales Order".
This is not rigth because it executes more queries than needed.
To fix this a piece of code have been refactored in the "DataSourceServlet"
class.
In the "doPost" method, there is a call to the "hasAccess" method, this method
is the one which calls the "hasGeneralAccess" and this is the one that is 
called twice.
The problem was that inside the "doPost" method exists also a call to the 
"doFetch" method,
this method calls the "hasAccess" method and this calls the "hasGeneralAccess" 
method.
So, when the doPost method called the fetch method, the "hasGeneralAcces" 
method was executed
twice because of the call inside the "doPost" and the call inside the "doFetch" 
method.

This has been fixed by moving the code which was doing the call to "hasAccess" 
inside
the "doPost" method, now it has been placed after the call to the "doFetch".
        
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java

Changes for Build #1603

    Alvaro Ferraz <[email protected]> null
    Related to issue 33043: Code review improvements
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java

    Mark <[email protected]> null
    Fixes issue 33043: Permissions problems after process payment solved

Role defined for an specific org is not able to see data from sister orgs.

Regression was introduced by the commit associated to issue 28931:
http://code.openbravo.com/erp/devel/pi/rev/78fd9bade67beea0399977fcdc05fd267c4af8c4

Changes were rolled back.
Also this patch includes fix for the issue 28931, avoiding to remove from the 
Writable Organizations List of the OBContext object, the Organization of the 
sequence of the payment's document type, if this organization is already in the 
list of accesible organizations of the current logged role.
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java




Last 20 lines of the console output:

[...truncated 10364 lines...]
DEBUG: Tomcat stop called with parameters: ENABLED=ENABLE
 * Stopping Tomcat servlet engine for Openbravo tomcat
   ...done.

executing script 'Check log'
[int-gui-pgsql] $ /bin/bash /tmp/build_step_template1111152508009485967.sh 
ENABLE
DEBUG: Check log called with parameters: ENABLED=ENABLE

Errors in openbravo log (artifact: int-gui-pgsql.log):
2016-05-30 19:10:01,774 [TP-Processor7] WARN  org.openbravo.dal.core.OBContext 
- The user 100 does not have write access to its current organization repairing 
that

Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
/srv/ci/workspace/int-gui-pgsql/SANDBOX/openbravo.log:
2016-05-30 19:10:01,774 [TP-Processor7] WARN  org.openbravo.dal.core.OBContext 
- The user 100 does not have write access to its current organization repairing 
that
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to