details:   /erp/devel/pi/rev/160a70ea1019
changeset: 6456:160a70ea1019
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Thu Feb 18 13:44:45 2010 +0100
summary:   related to issue 11039: Fixed access problem for not admin roles

diffstat:

 src/org/openbravo/erpCommon/utility/VerticalMenu.java |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r eecd5dedc0dc -r 160a70ea1019 
src/org/openbravo/erpCommon/utility/VerticalMenu.java
--- a/src/org/openbravo/erpCommon/utility/VerticalMenu.java     Thu Feb 18 
12:36:08 2010 +0100
+++ b/src/org/openbravo/erpCommon/utility/VerticalMenu.java     Thu Feb 18 
13:44:45 2010 +0100
@@ -83,6 +83,8 @@
       try {
         Session session = OBDal.getInstance().get(Session.class, sessionId);
         session.setLastPing(now);
+        // flush to force commit in admin mode
+        OBDal.getInstance().flush();
       } catch (Exception e) {
         log4j.error("Error in session ping", e);
       } finally {

------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to