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

Check console output at https://ci.openbravo.com/job/int-gui-pgsql/1602/ 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




Last 20 lines of the console output:

[...truncated 10465 lines...]
   ...done.

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

Errors in openbravo log (artifact: int-gui-pgsql.log):
2016-05-30 17:10:46,825 [TP-Processor2] ERROR 
org.openbravo.base.secureApp.LoginUtils - Login organization is not in role 
organizations list. Role: 4028E6C72959682B01295A071429011E, Org: 
E443A31992CB4635AFCAEABE7183CE85
2016-05-30 17:10:46,847 [TP-Processor2] ERROR 
org.openbravo.base.secureApp.LoginUtils - Login client is not in role clients 
list. Role: 4028E6C72959682B01295A071429011E, Client: 
23C59575B9CF467C9620760EB255B389

Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
/srv/ci/workspace/int-gui-pgsql/SANDBOX/openbravo.log:
2016-05-30 17:10:46,825 [TP-Processor2] ERROR 
org.openbravo.base.secureApp.LoginUtils - Login organization is not in role 
organizations list. Role: 4028E6C72959682B01295A071429011E, Org: 
E443A31992CB4635AFCAEABE7183CE85
2016-05-30 17:10:46,847 [TP-Processor2] ERROR 
org.openbravo.base.secureApp.LoginUtils - Login client is not in role clients 
list. Role: 4028E6C72959682B01295A071429011E, Client: 
23C59575B9CF467C9620760EB255B389
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