-
Notifications
You must be signed in to change notification settings - Fork 897
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
Allow regex for MiqExpression::Field which contains numbers in associations #14229
Allow regex for MiqExpression::Field which contains numbers in associations #14229
Conversation
example of field: Vm.win32_services-dependencies
@@ -70,6 +70,13 @@ | |||
tag = "Vm.hosts.user_tag-name" | |||
expect(described_class.parse(tag)).to be_nil | |||
end | |||
|
|||
it 'parses field with numbers in column' do |
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.
Aren't the numbers in the association?
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.
oh good :eyes I don't know why I am talking about column when the bug is in association
(I am not aware about numbers in colums, at least for now :) )
thanks!!!
I am going to fix descriptions.
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.
Done
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.
LGTM with nit
f29fe2c
to
1908983
Compare
Checked commits lpichler/manageiq@5a924c6~...1908983 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
example of field:
Vm.win32_services-dependencies
steps to reproduce a bug:
VM and Instance
Vm.win32_services-dependencies
Vm.win32_services-dependencies
to expressionand then it throws error:
@miq-bot assign @gtanzillo
@miq-bot add_label bug, core
cc @kbrock @imtayadeway