Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0046623 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] C. Security | minor | always | 2021-05-11 17:20 | 2022-02-01 07:24 | |||||||
Reporter | Practics | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | Google Chrome | |||||||||||
Modules | Core | |||||||||||
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 | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | bugFixUtility.diff [^] (505 bytes) 2021-05-11 17:20 [Show Content] | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |