-
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
Dead render partial #7609
Dead render partial #7609
Conversation
I'm not seeing evidence the file ever existed
which itself referenced nonexistent dashboard/_widgets_menu removed in #5997 (59df33f) https://github.com/ManageIQ/manageiq-ui-classic/pull/5997/files#diff-11a60195925554b3a904f3fa652a3d9df5579ec522c0f177be4cba6693edae01L2 also being the last reference
there is no app/views/*/_edit.*, there is a charegeback_rate/edit template, which loads the form partial .. so fixing to reference form
I'm not seeing evidence of the file ever existing
@@ -2,7 +2,7 @@ | |||
- if x_node == "root" | |||
= render :partial => "rates_list" | |||
- elsif @edit && @edit[:new] && ((params[:pressed] && params[:pressed] != "chargeback_rates_delete") || params[:button] == "reset") | |||
= render :partial => "edit" | |||
= render :partial => "form" |
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.
@himdel this view can be deleted, it is not being used
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.
Ah, perfect, I'll remove it.
Do you mean rates_tabs or the rates form as well?
EDIT: Oh, the form is still rendered through the edit action/template. So just rates tabs :)
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.
Updated :)
Checked commits https://github.com/himdel/manageiq-ui-classic/compare/aa5fbffce8febfb055947ed1e9d493d6eb2735f3~...ab50019ad7de7ac8d4c517599dd10843c5f641e7 with ruby 2.6.3, rubocop 0.82.0, haml-lint 0.35.0, and yamllint **
|
I noticed a couple of templates doing
render :partial =>
on a partial that doesn't exist - #7607So.. trying to find these systematically, got to...
So...
vm_common/provision
- I'm not seeing evidence of the file ever existingui_2
- removed in #7189 (6601370)shared/explorer
- removed in #1986 (f26af33)_profile_list
- removed in #7348 (fe329b1)layouts/drift
- ManageIQ/manageiq#7321 (be99fb3)dashboard/_widgets_menu
- removed in #5997 (59df33f)alert_assign
- I'm not seeing evidence the file ever existedprov_host_dialog
- removed in #4169 (acb4316)_edit
: fixed rates_tabs to reference the form partial, which is referenced by the edit template(and #7607 for
shared/views/ems_common/angular/_form
)And added (removal of)
_rates_tabs
- removed in #7039 (c083fc0)