Bug 143209 - Slash (/) is not valid for model names
Summary: Slash (/) is not valid for model names
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ready Certification Tests
Classification: Retired
Component: ispec
Version: beta
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Will Woods
QA Contact: Richard Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-17 14:26 UTC by Daniel W. Ottey
Modified: 2007-04-18 17:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-25 17:30:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel W. Ottey 2004-12-17 14:26:35 UTC
Description of problem:
The slash character (/) is not valid for model names.  We enter our 
model name (ES7000/540) in the model field.  When we click submit, we 
receive an error writing the file.  I believe this is because it 
picks up the / as a new directory that does not exist.

Version-Release number of selected component (if applicable):
beta

How reproducible:
Enter a model name containing a slash (ex: ES7000/540) and submit 
your configuration.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 David Lawrence 2004-12-21 16:39:04 UTC
Is this happening when you create the results rpm on the machine under test? Or
when submitting the results package to the hwcert web site?

Comment 2 Daniel W. Ottey 2004-12-21 16:58:08 UTC
This is occuring when I attempt to configure the system on the ispec website (my
local server).

I am changing the Component to "ispec."  I now realize that "web site" is
actually for the web site where results are submitted.

Comment 3 David Lawrence 2005-01-06 20:23:57 UTC
Verified with latest ispec package. Entering "Precision/340" instead of
"Precision 340" in the Model form field generates the error:

Processing... ERROR: Failed to create ../models/Precision/340: No such file or
directory
Please go back and fix this problem.


Comment 4 Will Woods 2005-01-06 21:33:02 UTC
iSpec needs to change the model name into a valid filename. I've added some code
to safen the model name by replacing all unsafe characters (anything not
alphanumeric or [_.-]) with underscores. 

Are there any other weird characters that are likely to show up in model names?

Comment 5 Will Woods 2005-01-25 17:30:51 UTC
fixed in iSpec 1.0.


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