Skip to content
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

Checks PXE customization templates for unique names #15495

Merged
merged 1 commit into from
Jul 6, 2017
Merged

Checks PXE customization templates for unique names #15495

merged 1 commit into from
Jul 6, 2017

Conversation

d-m-u
Copy link
Contributor

@d-m-u d-m-u commented Jul 2, 2017

PXE customization templates shouldn't allow duplicates by name. Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1449116

@d-m-u d-m-u changed the title Checks PXE customization templates for unique names [WIP] Checks PXE customization templates for unique names Jul 3, 2017
@miq-bot miq-bot added the wip label Jul 3, 2017
@chessbyte chessbyte added the bug label Jul 5, 2017
@gmcculloug
Copy link
Member

@bdunne The commit comment from 800ae9e8 on Aug 3 2012 (when this line was commented out) said only: Temporarily commented out complex name validation as it is causing issues.

Any thoughts? I'm not sure why this would cause an issue. Only thing I could come up with is multi-regions.

@bdunne
Copy link
Member

bdunne commented Jul 5, 2017

Yeah, I think this needs to validate uniqueness within a region.

@gmcculloug
Copy link
Member

@gtanzillo Any thoughts here or examples you can point us at for this? Do we scope other resources by region?

@bdunne
Copy link
Member

bdunne commented Jul 5, 2017

@gtanzillo
Copy link
Member

@d-m-u d-m-u changed the title [WIP] Checks PXE customization templates for unique names Checks PXE customization templates for unique names Jul 6, 2017
@d-m-u
Copy link
Contributor Author

d-m-u commented Jul 6, 2017

@miq-bot remove_label wip

@miq-bot
Copy link
Member

miq-bot commented Jul 6, 2017

Checked commit d-m-u@789ddfc with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 👍

@miq-bot miq-bot removed the wip label Jul 6, 2017
@gmcculloug gmcculloug merged commit aca086c into ManageIQ:master Jul 6, 2017
@gmcculloug gmcculloug added this to the Sprint 64 Ending Jul 10, 2017 milestone Jul 6, 2017
simaishi pushed a commit that referenced this pull request Nov 28, 2017
…e_name

Checks PXE customization templates for unique names
(cherry picked from commit aca086c)

https://bugzilla.redhat.com/show_bug.cgi?id=1518368
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit 7c1d133031939805f16250e33b5f4ea34efdfc71
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Thu Jul 6 08:17:29 2017 -0400

    Merge pull request #15495 from d-m-u/unique_pxe_customization_template_name
    
    Checks PXE customization templates for unique names
    (cherry picked from commit aca086c5022d5dacf1a98748b33fe79b56343414)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1518368

@simaishi
Copy link
Contributor

@d-m-u @gmcculloug Can/should we backport this to Euwe branch as per flag on the BZ?

d-m-u pushed a commit to d-m-u/manageiq that referenced this pull request Jun 6, 2018
…_template_name

Checks PXE customization templates for unique names
(cherry picked from commit aca086c)

https://bugzilla.redhat.com/show_bug.cgi?id=1518368
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants