Bug 1519875 - Classification validation errors in seeding keep server from starting
Summary: Classification validation errors in seeding keep server from starting
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: All
OS: All
high
urgent
Target Milestone: GA
: 5.9.0
Assignee: Chris Arcand
QA Contact: luke couzens
URL:
Whiteboard: upgrade:black
Depends On: 1507240
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-01 15:49 UTC by Satoe Imaishi
Modified: 2020-12-14 10:55 UTC (History)
10 users (show)

Fixed In Version: 5.9.0.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1507240
Environment:
Last Closed: 2018-03-06 15:12:49 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 CFME Bot 2017-12-01 16:27:03 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:
https://github.com/ManageIQ/manageiq/commit/7eecd58992e02055d8b799aad83e80b94c6e83e0

commit 7eecd58992e02055d8b799aad83e80b94c6e83e0
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Thu Nov 30 12:07:46 2017 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Dec 1 11:01:46 2017 -0500

    Merge pull request #16568 from chrisarcand/fix-classification-seeding
    
    Skip seeding of categories if their creation is invalid
    (cherry picked from commit 48846ec50d8fee8be7d894148903b56a9285d855)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1519875

 app/models/classification.rb       | 17 ++++++++++-------
 spec/models/classification_spec.rb | 12 ++++++++++++
 2 files changed, 22 insertions(+), 7 deletions(-)

Comment 3 luke couzens 2017-12-14 17:16:41 UTC
Hey Chris, whats the best way to reproduce this one for verification?

Comment 4 Chris Arcand 2017-12-14 19:42:52 UTC
Change the name/description of a seeded Classification record in the Rails console and attempt to start the server.

Comment 5 luke couzens 2017-12-20 11:14:31 UTC
Verified in 5.9.0.13


Note You need to log in before you can comment on or make changes to this bug.