-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Evacuate form #1676
Fix Evacuate form #1676
Conversation
@miq-bot assign @romanblanco |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ZitaNemeckova It works better, but I'm still getting Javascript error message:
Error: [$controller:ctrlreg] The controller with the name 'reportDataController' is not registered.
http://errors.angularjs.org/1.6.5/$controller/ctrlreg?p0=reportDataController
@romanblanco The But I'm more concerned with what the screengrab seems to be saying... You are on an instance detail screen, click evacuate, and suddenly the list contains 6 instances. That is definitely not desired ;) |
|
@karelhala Thanks it really helped :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@karelhala @ZitaNemeckova Moving render
before :javascript
didn't help, I'm still seeing the error, but I checked with @himdel and the issue is unrelated to the fix in this PR.
Changes in PR are fixing the original error correctly 👍
Checked commits ZitaNemeckova/manageiq-ui-classic@af3e468~...28373ff with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Tested in the UI, works in both the explorer view and non-explorer, for one or multiple instances. There are still multiple GTL issues on that screen - created #1715 - but evacuating works 👍 |
Where:
Compute -> Clouds -> Instances -> click OpenStack one -> Lifecycle -> Evacuate Instance
Compute -> Clouds -> Instances -> check OpenStack one or more -> Lifecycle -> Evacuate Instance
Compute -> Clouds -> Providers -> click OpenStack one -> click Instances-> click one -> Lifecycle -> Evacuate Instance
Compute -> Clouds -> Providers -> click OpenStack one -> click Instances-> check one or more -> Lifecycle -> Evacuate Instance
Before:
Various error message on screen or in log. Like
undefined method 'length' for nil:NilClass [vm/evacuate]
orError caught: [RuntimeError] Can't access selected records
. Never displaying Evacuate form.After:
It works :) With GTL issue that's not related to this PR. User can get to form for Evacuate and can save or cancel it.
Blockes #1233
@miq-bot add_label bug
@romanblanco please have a look as it's related to RBAC