-
Notifications
You must be signed in to change notification settings - Fork 898
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
UniqueWithinRegion doesn't check the base class #16739
Comments
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 3, 2018
This was referenced Jan 3, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 4, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 4, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 8, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 8, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 8, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 8, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 8, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 9, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 10, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 10, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 10, 2018
d-m-u
added a commit
to d-m-u/manageiq
that referenced
this issue
Jan 10, 2018
@Fryguy Can we close this one? |
Fixed by #16775 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The UniqueWithinRegion uses
record.class
, which when used with STI classes would be a leaf class, and may not scope properly across them. It should probably userecord.class.base_class
instead.@carbonin Can you work on this when you have a chance?
cc @d-m-u I think you had added a fix using this feature to the CustomizationTemplate class, however that class uses STI, and I don't think the validation works as expected. The PR in question #15495, doesn't seem to have tests that verify this, so can you add specs? We may have just gotten lucky if the only things in the database were PXE customization templates.
The text was updated successfully, but these errors were encountered: