GNOME Bugzilla – Bug 318254
summary items are lost when saving to gnumeric xml format
Last modified: 2005-10-08 00:32:41 UTC
Please describe the problem: starting from an xml file with for instance: ... <gnm:Summary> <gnm:Item> <gnm:name>keywords</gnm:name> <gnm:val-string>xml, test, export from java</gnm:val-string> </gnm:Item> <gnm:Item> <gnm:name>application</gnm:name> <gnm:val-string>gnumeric</gnm:val-string> </gnm:Item> <gnm:Item> <gnm:name>author</gnm:name> <gnm:val-string>Neryo</gnm:val-string> </gnm:Item> </gnm:Summary> ... All fields are imported correctly. But when re-saving the file, these are replaced by 3 times <gnm:Item> <gnm:name>keywords</gnm:name> <gnm:val-string>xml, test, export from java</gnm:val-string> </gnm:Item> Actually we get as many copies of one item (not always the same depending on which item are not null) as the initial number of items in the summary. As a result, the fields are lost if I close and open the file again. I've tested with 1.4.2 as well and I got the same behavior. Steps to reproduce: 1. take a gnumeric file in uncompressed xml format 2. edit this file to change the summary items 3. open the file with gnumeric, go to file properties and see the items are correctly shown 4. save the file 5. open it again with the editor (or gnumeric and do File->Properties) and see that the items have all the same value! Actual results: during the save operation, the good number of items is created but they all have the same value. Expected results: the items should not be modified during the save operation Does this happen every time? yes Other information:
Confirmed.
Fixed.