By Ben
Bug: machine export writes machine from previous export
Observed behaviour:
When selecting export machine from the machine profile window:
- first time export, writes the xml correctly with the machine selected in the drop-down list.
- 2nd and following exports, writes the machine from a previous export to the file. (not necessarily the last before)
HSMAdvisor Version v3.1.1
Steps to reproduce:
- go to machine profile dialog window
- select Export, choose a machine and press save (writes the correct machine profile to xml) (machine-1)
- select Export, choose any other machine, press save (writes the correct machine profile) (machine-2)
- repeat last step for machine-2, it will write machine-1 to xml file
This behaviour differs sometimes. Sometimes it is possible to export the file 2-3 times in a row correctly. When repeating those steps with different (machine-3), the first export is okay. The second may either write machine-1 or machine-2 to file.