Commit a03ea9ff authored by Arnaud Fontaine's avatar Arnaud Fontaine

Make sure ids are properly numbered from old_xml when removing elements with the same id.

parent 79d944af
......@@ -611,6 +611,9 @@ class TestERP5Diff(unittest.TestCase):
<workflow_action id="edit_workflow">
<time type="date">2009/08/28 19:12:34.426 GMT+9</time>
</workflow_action>
<workflow_action id="edit_workflow">
<time type="date">2009/08/28 19:12:34.424 GMT+9</time>
</workflow_action>
</object>
</erp5>
"""
......@@ -636,6 +639,7 @@ class TestERP5Diff(unittest.TestCase):
<xupdate:remove select="/erp5/object[@id='313730']/workflow_action[@id='edit_workflow'][2]"/>
<xupdate:remove select="/erp5/object[@id='313730']/workflow_action[@id='edit_workflow'][3]"/>
<xupdate:remove select="/erp5/object[@id='313730']/workflow_action[@id='edit_workflow'][4]"/>
<xupdate:remove select="/erp5/object[@id='313730']/workflow_action[@id='edit_workflow'][8]"/>
</xupdate:modifications>
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment