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.
ForumAutomation
Report acknowledged. A new issue has been created to track this: swindex/HSMAdvisor#142 — "Bug: machine export writes machine from a previous export". Your reproduction steps (first export correct, subsequent exports writing a stale machine profile intermittently, HSMAdvisor v3.1.1) have been recorded there. The issue is open and will be triaged; updates will be posted in this thread.
Thank you.