google-code-export / candydolldb

Automatically exported from code.google.com/p/candydolldb
0 stars 0 forks source link

XML Import overwriting tags inserted via web gui #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Insert tags for a model, set, etc..
2. Process setup_data.xml
3. Tags inserted previously are overwritten

What is the expected output? What do you see instead?
Expected outcome is for the tags in the XML, if any, to merge with the 
corresponding set, model, etc.. 

Instead if the tag attribute in the XML is blank for a set, then processing 
that set will overwrite any tags inserted manually

Original issue reported on code.google.com by mranimos...@gmail.com on 24 Apr 2012 at 9:34

GoogleCodeExporter commented 9 years ago
This behavior is caused by Tag2All::HandleTags, which deletes all 
Tag2All-records for the selected Model/Set.

I'll build in an overload to either delete or merge existing Tag2All;

Original comment by fwp...@gmail.com on 24 Apr 2012 at 11:15

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r451.

Original comment by fwp...@gmail.com on 24 Apr 2012 at 5:36

GoogleCodeExporter commented 9 years ago
Should be fixed in r451.

Original comment by fwp...@gmail.com on 24 Apr 2012 at 5:36