Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031208 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Approval process - online | major | always | 2015-10-21 16:52 | 2016-01-22 15:32 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | mario_castello | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR16Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 2a3b31384b42 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031208: The CheckApproval process fails when there are preferences with long values | |||||||
Description | When the CheckApproval process is executed, a query is performed against the ad_preference table, and the searchKey field is converted via a call to to_char. If there is any preference with a searchKey/value longer than 4000 characters, the query fails (at least in oracle) with the following error: ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 10627, maximum: 4000) | |||||||
Steps To Reproduce | Create a preference with a value longer than 4000 characters. Configure some preference for web pos in a way that approval is requested for certain user, and a different user approves it (e.g. deny the Delete Line approval for vallblanca and allow it for Openbravo). Login in web pos, create a ticket, and follow steps to show the approval popup. Try to approve the action. Verify in backend that the CheckApproval process has failed with the error copied above. | |||||||
Proposed Solution | Attached proposed solution. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0081464) aaroncalero (viewer) 2015-11-04 09:22 |
Uploaded new proposed solution. First solution was still failing. |
(0081717) hgbot (developer) 2015-11-11 15:35 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: e606c76a9a7f35e2b25ac48f686c71651ef466e2 Author: Mario Castello <mario.castello <at> peoplewalking.com> Date: Wed Nov 11 08:34:55 2015 -0600 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e606c76a9a7f35e2b25ac48f686c71651ef466e2 [^] Fixed issue 31208: Add validation to CheckApproval --- M src/org/openbravo/retail/posterminal/utility/CheckApproval.java --- |
(0083563) hgbot (developer) 2016-01-22 11:57 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 2a3b31384b42c2f7cbe420d2f496e49af8a5c6c3 Author: Aaron Calero <aaron.calero <at> openbravo.com> Date: Wed Oct 21 16:53:28 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a3b31384b42c2f7cbe420d2f496e49af8a5c6c3 [^] Fixed issue 31208: The CheckApproval process fails when there are preferences with long values --- M src/org/openbravo/retail/posterminal/utility/CheckApproval.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2015-10-21 16:52 | aaroncalero | New Issue | |
2015-10-21 16:52 | aaroncalero | Assigned To | => Retail |
2015-10-21 16:52 | aaroncalero | OBNetwork customer | => Yes |
2015-10-21 16:52 | aaroncalero | Resolution time | => 1446591600 |
2015-10-21 16:52 | aaroncalero | Triggers an Emergency Pack | => No |
2015-10-21 16:52 | aaroncalero | File Added: Issue31208.diff | |
2015-10-21 16:55 | Orekaria | Status | new => acknowledged |
2015-11-03 15:59 | mario_castello | Assigned To | Retail => mario_castello |
2015-11-03 15:59 | mario_castello | Status | acknowledged => scheduled |
2015-11-04 09:21 | aaroncalero | File Added: new_Issue31208.diff | |
2015-11-04 09:22 | aaroncalero | Note Added: 0081464 | |
2015-11-11 15:35 | hgbot | Checkin | |
2015-11-11 15:35 | hgbot | Note Added: 0081717 | |
2015-11-11 15:35 | hgbot | Status | scheduled => resolved |
2015-11-11 15:35 | hgbot | Resolution | open => fixed |
2015-11-11 15:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e606c76a9a7f35e2b25ac48f686c71651ef466e2 [^] |
2015-11-13 13:42 | guilleaer | Review Assigned To | => guilleaer |
2015-11-13 13:42 | guilleaer | Status | resolved => closed |
2015-11-13 13:42 | guilleaer | Fixed in Version | => RR16Q1 |
2016-01-22 11:57 | hgbot | Checkin | |
2016-01-22 11:57 | hgbot | Note Added: 0083563 | |
2016-01-22 11:57 | hgbot | Status | closed => resolved |
2016-01-22 11:57 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e606c76a9a7f35e2b25ac48f686c71651ef466e2 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a3b31384b42c2f7cbe420d2f496e49af8a5c6c3 [^] |
2016-01-22 15:32 | marvintm | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |