Incorect handling the circuit environment files in Windows

Bug #1529416 reported by Danil Sokolov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Workcraft
Fix Committed
Medium
Danil Sokolov

Bug Description

In Windows the reference to the circuit Environment file is saved as follows:

   <node class="org.workcraft.plugins.circuit.Environment" ref="29">
      <Environment>
        <property class="java.io.File" name="base" path="D:\SVN"/>
        <property class="java.io.File" name="file" path="D:\SVN\abc.work"/>
      </Environment>
    </node>

When this data is read in Linux a misinterpretation of the base portion happens and the relative path to the environment file is incorrectly calculated. This is due to different hierarchy separator ("\\" in Windows and "/" in Linux) and a strange conversion to URI in Java.

Tags: circuit

Related branches

summary: - Incorect handlingof the base path of the circuit environment file in
- Windows
+ Incorect handling the circuit environment files in Windows
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.