I've just helped a user correct a configuration mistake where they'd tried to configure a DataSize with a string of 2KB . This resulted in a conversion failure due to the trailing whitespace as neither StringToDataSizeConverter nor DataSize.parse trims the input. By contrast other areas of Framework such as CustomBooleanEditor do trim before attempting conversion.
Could the various property editors and converters be updated to consistently trim whitespace when it's irrelevant to the target type?
I've just helped a user correct a configuration mistake where they'd tried to configure a
DataSizewith a string of2KB. This resulted in a conversion failure due to the trailing whitespace as neitherStringToDataSizeConverternorDataSize.parsetrims the input. By contrast other areas of Framework such asCustomBooleanEditordo trim before attempting conversion.Could the various property editors and converters be updated to consistently trim whitespace when it's irrelevant to the target type?