details:   https://code.openbravo.com/erp/devel/pi/rev/14e14d88f186
changeset: 29438:14e14d88f186
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Fri May 06 09:38:49 2016 +0200
summary:   related to issue 32870: code review improvements

diffstat:

 src/org/openbravo/base/secureApp/HttpSecureAppServlet.java |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 98d966006ddb -r 14e14d88f186 
src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
--- a/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java        Wed May 
04 13:23:26 2016 +0200
+++ b/src/org/openbravo/base/secureApp/HttpSecureAppServlet.java        Fri May 
06 09:38:49 2016 +0200
@@ -440,8 +440,8 @@
           bdError(request, response, "AccessTableNoView", vars1.getLanguage());
         }
         String roleStr = "".equals(vars1.getRole()) ? "" : " (" + 
vars1.getRole() + ")";
-        log4j.error("With your current role" + roleStr
-            + " and settings, you cannot view this information.");
+        log4j
+            .warn("Role" + roleStr + " tried to access ungranted resource with 
ID " + classInfo.id);
       }
     } catch (final ServletException ex) {
       log4j.error("Error captured: ", ex);

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to