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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039574
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2018-10-31 12:352018-10-31 12:35
Reporterjoniturralde93View Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0039574: File separator syntax can be problematic for Windows (MOBILE CORE INFRASTRUCTURE)

DescriptionIn MobileCoreApplicationCacheComponent.java file, line 107 is the following:

    String relativePath = "/web" + File.separatorChar + "org.openbravo.mobile.core";

This can lead to errors in windows, the correct way would be:

    String relativePath = File.separatorChar + "web" + File.separatorChar + "org.openbravo.mobile.core";


There are more cases like this in the same file which use '/' character as default for paths.
Steps To ReproduceJust check the provided file:

org.openbravo.mobile.core/src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java


Proposed SolutionSubstitute '/' for File.separatorChar
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-10-31 12:35 joniturralde93 New Issue
2018-10-31 12:35 joniturralde93 Assigned To => Retail
2018-10-31 12:35 joniturralde93 Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker