Description of problem: Simulation doesn't clear object when reselecting none Version-Release number of selected component (if applicable):5.4.0.1 How reproducible:100% Steps to Reproduce: 1. In Automate -> Simulation 2. Request: InspectMe 3. Select the Object Attribute to be 'VM and Instance' 4. Select a VM 5. Tick Execute Methods 6. Run the simulation 7. Change the Object Attribute to <None> 8. Re run the simulation Actual results: The object from the previous run is used Expected results: None should be used Additional info:
https://github.com/ManageIQ/manageiq/pull/2969
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/ae8cfa7fb8867febe725b86ee43787d00da733ac commit ae8cfa7fb8867febe725b86ee43787d00da733ac Author: Milan Zazrivec <mzazrivec> AuthorDate: Thu May 21 17:33:37 2015 +0200 Commit: Milan Zazrivec <mzazrivec> CommitDate: Thu May 21 17:36:02 2015 +0200 Simulation input: correctly reset object attribute We need to set @sb[:obj] to nil whenever we reset the object attribute to none. Otherwise previously used (loaded) value would be used. https://bugzilla.redhat.com/show_bug.cgi?id=1223368 vmdb/app/controllers/application_controller/automate.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Verified fixed in version 5.5.0.3 Repeat the steps for reproducing, system correctly cleans the object attribute fields.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551