Openbravo Issue Tracking System - Openbravo ERP  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0046623 | Openbravo ERP | C. Security | public | 2021-05-11 17:20 | 2022-02-01 07:24 | 
| Reporter | Practics | ||||
| Assigned To | Triage Platform Base | ||||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Web browser | Google Chrome | ||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0046623: Substring incorrect in class Utility.java | ||||
| Description | In class /src/org/openbravo/erpCommon/utility/Utility.java has incorrect substring to remove client cero (system). A substring of 2 is made when it should be 4 If a substring of 2 is made the result is: ', If a sustring of 4 is made the result is blank  | ||||
| Steps To Reproduce | 1- Go to class Utility.java 2- In line 471 method : getContext(ConnectionProvider conn, VariablesSecureApp vars, String context, String strWindow, int accessLevel) 3- In line 518: } else if (retValue.startsWith("'0',")) { retValue = retValue.substring(2); } 4- Fix with: } else if (retValue.startsWith("'0',")) { retValue = retValue.substring(4); }  | ||||
| Proposed Solution | Attached diff | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=15700&type=bug  | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2021-05-11 17:20 | Practics | New Issue | |||
| 2021-05-11 17:20 | Practics | Assigned To | => platform | ||
| 2021-05-11 17:20 | Practics | File Added: bugFixUtility.diff | |||
| 2021-05-11 17:20 | Practics | Web browser | => Google Chrome | ||
| 2021-05-11 17:20 | Practics | Modules | => Core | ||
| 2021-05-11 17:20 | Practics | Triggers an Emergency Pack | => No | ||
| 2021-05-11 17:21 | Practics | Issue Monitored: Practics | |||
| 2022-02-01 07:24 | alostale | Assigned To | platform => Triage Platform Base | ||
| There are no notes attached to this issue. |