Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046623
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] C. Securityminoralways2021-05-11 17:202022-02-01 07:24
ReporterPracticsView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046623: Substring incorrect in class Utility.java

DescriptionIn 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 Reproduce1- 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 SolutionAttached diff
TagsNo tags attached.
Attached Filesdiff file icon bugFixUtility.diff [^] (505 bytes) 2021-05-11 17:20 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker