Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0026920 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2014-06-23 16:40 | 2014-06-27 14:06 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR14Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | f705c1784a92 | ||||
Projection | none | ETA | none | Target Version | RR14Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0068256) shuehner (administrator) 2014-06-23 16:42 |
Note: Technically regression but no visible problem to the user so functionally transparent to user. However technically wrong and running code with elevated privileges and can make security problem worse if that code has any. |
(0068257) shuehner (administrator) 2014-06-23 16:44 |
try/catch adds lots of whitespace. Check with 'hg diff -w' after applying to see real change. Note: just compiled tested to verify the warning dissappears. Zero testing done so far. |
(0068265) hgbot (developer) 2014-06-23 22:11 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: f705c1784a9295535716a9d21aa8d8d60515cf4a Author: Rafa Alonso <rafael.alonso <at> openbravo.com> Date: Mon Jun 23 22:10:50 2014 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f705c1784a9295535716a9d21aa8d8d60515cf4a [^] Fixes issue 26920: added restorePreviousMode() in a try finally block --- M src/org/openbravo/retail/posterminal/term/Payments.java --- |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |