#38 Corrupted file when saving large arrows

build 1.3.38
open
nobody
None
5
2010-10-26
2010-10-26
Philip Frising
No

We have some problems with UniMod when adding long arrows that bend. When saving an UniMod file with arrows that have bend point coordinates that are larger than 999 the file gets corrupted, see below. Please look at the attached example. If you open up that file and then resave it the file will be corrupted. We are using UniMod 1.3.38.

Should be:
<edge-ref edge="euid1288097221688-7471549">
<property name="sourceAnchor" value="EAST:8"/>
<property name="targetAnchor" value="SOUTH:10"/>
<property name="bendpoints" value="1010:0:0:30"/>
<property name="labelPosition" value="(50%) -&gt; (0, -10)"/>
</edge-ref>

Instead we get:
<edge-ref edge="euid1288097221688-7471549">
<property name="sourceAnchor" value="EAST:8"/>
<property name="targetAnchor" value="SOUTH:10"/>
<property name="bendpoints" value="1Â 010:0:0:30"/>
<property name="labelPosition" value="(50%) -&gt; (0, -10)"/>
</edge-ref>

Discussion

  • Philip Frising
    Philip Frising
    2010-10-26

    Example

     
    Attachments