Bug 1173368 - empty string should not be a valid OS major name
Summary: empty string should not be a valid OS major name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 19.2
Assignee: matt jia
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-12 00:24 UTC by Dan Callaghan
Modified: 2018-02-06 00:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-20 03:18:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2014-12-12 00:24:26 UTC
Version-Release number of selected component (if applicable):
19.0

Steps to Reproduce:
Not sure. We have an OS major with name "" in our internal Beaker instance, so it can happen *somehow*. One possible way:
1. beaker-import --family= http://<sometree>
Another possible way:
1. bkr distros-edit-version --name=<somedistroname> ""
(Note that these are destructive operations so be careful if you try to reproduce the problem.)

Actual results:
Beaker creates an OS major whose name is the empty string.

Expected results:
The distro import attempt or renaming attempt should be rejected with a useful error message.

Additional info:
Distro name most likely has the same problem and should be fixed in the same way.

Comment 1 matt jia 2015-01-12 01:20:14 UTC
On Gerrit:

  http://gerrit.beaker-project.org/#/c/3917/

Cheers, Matt Jia

Comment 5 Dan Callaghan 2015-01-20 03:18:47 UTC
Beaker 19.2 has been released.


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