Openbravo Issue Tracking System - Retail Modules  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0026920 | Retail Modules | Web POS | public | 2014-06-23 16:40 | 2014-06-27 14:06 | 
  | 
| Reporter | shuehner |   | 
| Assigned To | marvintm |   | 
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version | RR14Q3 | Fixed in Version | RR14Q3 |   | 
| Merge Request Status |  | 
| Review Assigned To | marvintm | 
| OBNetwork customer | No | 
| Support ticket |  | 
| Regression level | Production - QA Approved | 
| Regression date | 2014-03-06 | 
| Regression introduced in release |  | 
| Regression introduced by commit | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/98aa4a0382357240f319d639d94a0e21f8eb7cef [^] | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0026920: Unbalanced AdminMode calls on login to webpos | 
| Description | Some code used during webpos login process has some unbalanced adminmode calls as can be seen in server log by this warning. 
 
2014-06-23 16:13:18,561 [ajp-localhost%2F127.0.0.1-8809-4] WARN  org.openbravo.dal.core.OBContext - Unbalanced calls to setAdminMode and restorePreviousMode. Consider setting the constant OBContext.ADMIN_TRACE_SIZE to a value higher than 0 to debug this situation 
 
 | 
| Steps To Reproduce | Login to webpos 
check server log. | 
| Proposed Solution | usual try/finally block with restorePreviousMode in the finally block. | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to  | defect  | 0025924 |   | closed  | rafademiguel  | Precision error in Multicurrency - Exchange Rate  |  
  | 
| Attached Files |   26920.diff (5,717) 2014-06-23 16:43 https://issues.openbravo.com/file_download.php?file_id=7016&type=bug | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2014-06-23 16:40 | shuehner | New Issue |  | 
| 2014-06-23 16:40 | shuehner | Assigned To |  => marvintm | 
| 2014-06-23 16:40 | shuehner | OBNetwork customer |  => No | 
| 2014-06-23 16:40 | shuehner | Triggers an Emergency Pack |  => No | 
| 2014-06-23 16:42 | shuehner | Regression level |  => Production - QA Approved | 
| 2014-06-23 16:42 | shuehner | Regression date |  => 2014-03-06 | 
| 2014-06-23 16:42 | shuehner | Regression introduced by commit |  => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/98aa4a0382357240f319d639d94a0e21f8eb7cef [^] | 
| 2014-06-23 16:42 | shuehner | Note Added: 0068256 |  | 
| 2014-06-23 16:42 | shuehner | Proposed Solution updated |  | 
| 2014-06-23 16:43 | shuehner | File Added: 26920.diff |  | 
| 2014-06-23 16:44 | shuehner | Note Added: 0068257 |  | 
| 2014-06-23 16:44 | shuehner | Relationship added | related to 0025924 | 
| 2014-06-23 16:46 | shuehner | Target Version |  => RR14Q3 | 
| 2014-06-23 22:11 | hgbot | Checkin |  | 
| 2014-06-23 22:11 | hgbot | Note Added: 0068265 |  | 
| 2014-06-23 22:11 | hgbot | Status | new => resolved | 
| 2014-06-23 22:11 | hgbot | Resolution | open => fixed | 
| 2014-06-23 22:11 | hgbot | Fixed in SCM revision |  => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f705c1784a9295535716a9d21aa8d8d60515cf4a [^] | 
| 2014-06-27 14:06 | marvintm | Review Assigned To |  => marvintm | 
| 2014-06-27 14:06 | marvintm | Status | resolved => closed | 
| 2014-06-27 14:06 | marvintm | Fixed in Version |  => RR14Q3 |