Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012029Openbravo ERPB. User interfacepublic2010-01-21 17:152011-05-20 15:02
psarobe 
iciordia 
urgentmajoralways
closedout of date 
5
2.50MP11 
 
Core
No
0012029: IE8: Combo boxes are not refreshed
Combo boxes in wad windows don't get refresh
1. Login as Openbravo/openbravo role Openbravo Admin
2. Go to Financial Management || Accounting || Setup || Tax Rate || Tax
3. Click New and fill the mandatory fields
4. Click on Business partner tax category link.
5. In the window Business partner tax category create one record
6. Save and click Back button in the toolbar
7. Now you will be back in the tax rate window.
8. Expand the combo box Business partner tax category and it will be empty

This is wrong
No tags attached.
related to defect 0006295pi closed dbaz Using IE generated windows are not requested/reloaded always 
Issue History
2010-01-21 17:15psarobeNew Issue
2010-01-21 17:15psarobeAssigned To => dbaz
2010-01-21 17:16psarobeStatusnew => scheduled
2010-01-21 17:16psarobefix_in_branch => pi
2010-01-21 17:19psarobeRelationship addedrelated to 0006295
2010-01-25 17:04dbazNote Added: 0023794
2010-01-25 17:04dbazAssigned Todbaz => iciordia
2011-05-20 15:02psarobeStatusscheduled => closed
2011-05-20 15:02psarobeResolutionopen => out of date

Notes
(0023794)
dbaz   
2010-01-25 17:04   
It seems that the html is cached. This fast-fix solve this particular problem:


--- a/src/org/openbravo/base/secureApp/ServletGoBack.java
+++ b/src/org/openbravo/base/secureApp/ServletGoBack.java
@@ -12,6 +12,7 @@
 package org.openbravo.base.secureApp;
 
 import java.io.IOException;
+import java.util.Random;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.http.HttpServletRequest;
@@ -44,9 +45,11 @@
     if (log4j.isDebugEnabled()) {
       log4j.info("start doPost");
     }
+ Random r1 = new Random();
+ String randomString = Long.toString(Math.abs(r1.nextLong()), 12);
     Variables vars = new Variables(req);
     String strUrl = strDireccion + vars.getCurrentServletPath(strServletPorDefecto) + "?Command="
- + vars.getCurrentServletCommand();
+ + vars.getCurrentServletCommand() + "&cachePrevent=" + randomString;
     res.sendRedirect(res.encodeRedirectURL(strUrl));
   }