Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039574Retail ModulesWeb POSpublic2018-10-31 12:352018-10-31 12:35
joniturralde93 
Retail 
normalminoralways
newopen 
5
 
 
No
0039574: File separator syntax can be problematic for Windows (MOBILE CORE INFRASTRUCTURE)
In 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.
Just check the provided file:

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


Substitute '/' for File.separatorChar
No tags attached.
Issue History
2018-10-31 12:35joniturralde93New Issue
2018-10-31 12:35joniturralde93Assigned To => Retail
2018-10-31 12:35joniturralde93Triggers an Emergency Pack => No

There are no notes attached to this issue.