Bug 785048 - CSV export for excluded distros produces "None" values, which fail to be imported
Summary: CSV export for excluded distros produces "None" values, which fail to be impo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: inventory
Version: 0.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yang Ren
QA Contact:
URL:
Whiteboard:
: 805505 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-27 03:36 UTC by Dan Callaghan
Modified: 2019-05-22 13:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 747767
Environment:
Last Closed: 2012-04-26 07:16:48 UTC
Embargoed:


Attachments (Terms of Use)

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


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