Created attachment 1518034 [details] screen capture of issue Description of problem: the code used for the dynamic service dialog items is being executed not only while creating the service request, but also executed everytime the service request is being opened for review and executed again while clicking on the approval. this is giving the illusion that the system is very slow and unresponsive the code should be executed once only at the time of the service request, if the request is opened for review and approval it should be getting the details from the database not rerunning the code everytime Version-Release number of selected component (if applicable): cfme-5.9.6.5-4.el7cf.x86_64 cfme-appliance-5.9.6.5-1.el7cf.x86_64 cfme-gemset-5.9.6.5-3.el7cf.x86_64 cfme-appliance-common-5.9.6.5-1.el7cf.x86_64 How reproducible: always Steps to Reproduce: 1. create a service dialog that uses dynamic items 2. submit a new service request for that service 3. open the service request for review 4. approve the service request Actual results: the automation code is executed every time the service request is opened for review and executed again at approval Expected results: the automation code should only be executed as service request when the dialog is being displayed to the user. when the request is opened for review and approval the details should be displayed directly from the database and not rerun the automation code again. Additional info: a video of the issue is attached
Erik is currently looking into this issue.
Master PR has been merged: https://github.com/ManageIQ/manageiq-ui-classic/pull/5126
Verified in Version 5.11.0.3.20190507174347_a77bd90