Red Hat Bugzilla – Bug 143209
Slash (/) is not valid for model names
Last modified: 2007-04-18 13:17:28 EDT
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):
Enter a model name containing a slash (ex: ES7000/540) and submit
Steps to Reproduce:
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?
This is occuring when I attempt to configure the system on the ispec website (my
I am changing the Component to "ispec." I now realize that "web site" is
actually for the web site where results are submitted.
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
Please go back and fix this problem.
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?
fixed in iSpec 1.0.