soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

Model migration corrupts overriddenNames #239

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a model that has an element with 'overriddenNames' set:

<children xsi:type="iaml.visual:InputForm" inWires="wires.129d48ff6e9.c88" 
id="visual.129d48ff6e9.c79" name="Your Events">
  <overriddenNames>created</overriddenNames>
  <overriddenNames>description</overriddenNames>
  <overriddenNames>updated</overriddenNames>
  <overriddenNames>manager</overriddenNames>
</children>

2. Try and migrate the model to the latest version

What is the expected output? What do you see instead?
All information in 'overriddenNames' is lost, and new IDs are assigned 
incorrectly:

<children id="visual.129d48ff6e9.c79" inWires="wires.129d48ff6e9.c88" 
name="Your Events" xsi:type="iaml.visual:InputForm">
  <overriddenNames id="migrated11"/>
  <overriddenNames id="migrated12"/>
  <overriddenNames id="migrated13"/>
  <overriddenNames id="migrated14"/>
</children>

Original issue reported on code.google.com by soundasleep on 7 Apr 2011 at 3:44

GoogleCodeExporter commented 9 years ago
Resolved in r2671.

Original comment by soundasleep on 21 Apr 2011 at 4:21