[Parley-devel] [Bug 212306] multi synonym save bug

Daniel Laidig d.laidig at gmx.de
Fri Apr 9 23:14:05 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=212306


Daniel Laidig <d.laidig at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.laidig at gmx.de




--- Comment #4 from Daniel Laidig <d laidig gmx de>  2010-04-09 23:14:02 ---
I just tested your patch and noticed that it isn't working correctly. When
saving three entries which are all connected, the following is written:

    <pair>
      <entry id="2">
        <translation id="0"/>
      </entry>
    </pair>
    <pair>
      <entry id="1">
        <translation id="0"/>
      </entry>
      <entry id="3">
        <translation id="0"/>
      </entry>
    </pair>
    <pair>
      <entry id="2">
        <translation id="0"/>
      </entry>
      <entry id="3">
        <translation id="0"/>
      </entry>
    </pair>

One of the pairs only contains one entry, which is then marked as a synonym of
the entry with the id 0. IIRC, more or less the same happened when I tried to
verify this bug in the first place, so I'm not sure what went wrong here. I
must also admit that I haven't really looked at the kvtml saving code so I
don't really understand how this code works.

It would be great if you could have a look at the patch again.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Parley-devel mailing list