Red Hat Bugzilla – Bug 138887
LV creation with decimal values: "Undefined type conversion"
Last modified: 2009-04-16 19:10:51 EDT
Description of problem:
Use the GUI to create an LV. Select Megabytes and click "Use
Remaining Space". The value inserted included two decimal places.
Click "OK" to create and get the Error dialog:
"Undefined type conversion error in model factory. Unable to complete
This worked for me in previous versions. It's not necessary to use
remaining space to get the error. Any KB/MB/GB value as a decimal
will produce the error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Attempt to create an LV with decimal value for KB/MB/GB
Type conversion error.
This is fixed in the upcoming 0.9.9-1.0. The Type Conversion error is
now changed to another error handler that gives a much better message
if the user types garbage into the Size field.
Verified in system-config-lvm-0.9.9-1.0.
If you put garbage in the size field you now get:
"There is a problem with the value entered in the Size field. The
value should be a numeric value with no alphabetical characters or
symbols of any other kind."