int-gui-oracle - Build # 1599 - Fixed:
Check console output at https://ci.openbravo.com/job/int-gui-oracle/1599/ to
view the results.
Committers since last success:
Changes for Build #1598
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 #1599
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 10299 lines...]
Total time: 2 seconds
executing script 'Tomcat stop'
[int-gui-oracle] $ /bin/bash /tmp/build_step_template1403719018502801333.sh
ENABLE
DEBUG: Tomcat stop called with parameters: ENABLED=ENABLE
* Stopping Tomcat servlet engine for Openbravo tomcat
...done.
executing script 'Check log'
[int-gui-oracle] $ /bin/bash /tmp/build_step_template6961408258414226229.sh
ENABLE
DEBUG: Check log called with parameters: ENABLED=ENABLE
Check log: openbravo log (artifact: int-gui-oracle.log) is clean
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed
------------------------------------------------------------------------------
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