-
Notifications
You must be signed in to change notification settings - Fork 900
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
Display name of a filter in Infrastructure Providers #12307
Display name of a filter in Infrastructure Providers #12307
Conversation
@miq-bot add_label bug, ui |
While the fix shown would fix the problem at hand, the real problem here is that the search This broke with commit a014ce4 which changed the expression stored in session from a hash @hstastna please reach out to @isimluk and try to hash out a nice solution for this problem. |
@mzazrivec @isimluk what about |
ab90089
to
1bf843a
Compare
I am sorry, I introduced this problem in a014ce4. I didn't think of fetch_path as of something MiQ defines only for some of the base data structures. Here are my notes from the analysis
We can try:
I think we can fix this bug, by the one liner:
and then we can continue with extracting code manipulating expression to this class (on my todo list, but I could use some help). When we extract code manipulating Expression to the Expression class, most of the need for |
For me it works if I add |
1bf843a
to
356f3c4
Compare
@mzazrivec I made changes and repushed so it can be merged |
356f3c4
to
d94c227
Compare
@hstastna the failure is not related to this pr. You don't need to be admin to restart travis. You can restart travis, by either rebasing this pr, or simply touching that commit. i.e amending the date... |
Display name of a choosen filter from My Filters which was not displayed in Compute -> Infrastructure -> Providers and also in many other places.
d94c227
to
410ed57
Compare
Checked commit hstastna@410ed57 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
fixing issue #12199
Display name of a choosen filter from My Filters which
was not displayed in Compute -> Infrastructure -> Providers
and also in many other places.
Before
After