modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

Number TVs should follow localized formats #3862

Open modxbot opened 13 years ago

modxbot commented 13 years ago

everettg_99 created Redmine issue ID 3862

The Number TVs incorrectly restrict input; they should allow for localized formats, OR you should be able to specify the desired number format you want on a per-TV basis.

h3. To Reproduce:

Create a Number TV Edit a resource using this TV Enter in a value, e.g. "1.000.000".

h3. Expected:

This should be legitimate for European locales. I.e. if there were a system setting where the thousands separator were stored, you could check for and allow multiple instances of this character to occur in any number field.

h3. Result

Validation Error.

h2. See Also

wshawn commented 13 years ago

wshawn submitted:

Sorry, my book isn't finished yet, I go over this issue.

The mechanism used to process the TV utilizes integers and decimals only.

You may have to used a custom TV to handle the format.