Bug 785048

Summary: CSV export for excluded distros produces "None" values, which fail to be imported
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: inventoryAssignee: Yang Ren <ryang>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.8CC: alemay, bpeck, mbrodeur, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 747767 Environment:
Last Closed: 2012-04-26 07:16:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2012-01-27 03:36:53 UTC
+++ This bug was initially created as a clone of Bug #747767 +++

Just in case it wasn't tested/fixed already, this bug shows up on the exclude csv_type too.

heka-srv-01.sbu.lab.eng.bos.redhat.com: Invalid Family Fedora7 Update None
heka-srv-01.sbu.lab.eng.bos.redhat.com: Invalid Family Fedora8 Update None
and on and on


Replacing the literal "None"s in the input CSV with empty strings does allow the import and sets the desired values.

Comment 1 Dan Callaghan 2012-02-27 23:20:41 UTC
Yang, could you have a go at this bug?

Take a look at the original bug 747767 for some context. This will need fixing in Server/bkr/server/CSV_import_export.py and a corresponding test case added to IntegrationTests/src/bkr/inttest/server/selenium/test_csv_export.py.

Comment 2 Dan Callaghan 2012-03-22 22:29:43 UTC
*** Bug 805505 has been marked as a duplicate of this bug. ***

Comment 3 Bill Peck 2012-04-11 17:37:49 UTC
Yang, Ping - this needs to be done asap or pushed to 0.8.3