Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
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

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

DescriptionIn file, line 107 is the following:

    String relativePath = "/web" + File.separatorChar + "";

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

    String relativePath = File.separatorChar + "web" + File.separatorChar + "";

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

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