Community
Participate
Working Groups
This bug can be reprocuded in the sub-module "UI-Filters/Examples". In the group "Ridgets (sample)" you can add a validator to the text field behind the label "Sample Label". (The validator is added with the help of an UIFilter) Press last the toggle button "activate" of the group. Now enter some letters in the text field; something like "abc". Leaf the text field (focus lost). No error marker is shown (error). But the added validator only allows the two digits "0" and "1". Press the last toggle button again. (The text in the field disapears!) Enter again "abc". Press once again the las toogle button. Now an error marker is visible (correct).
Created attachment 150046 [details] Patch
Created attachment 150067 [details] Patch with tests
Added tests to Elias' patch. This should fix the problem.
Thanks, patch applied. ( something useful to know: TestUtils.getLocalizedNumber("20,5") produces Strings that work for DE and US locales. Example: bean.setProperty(TestUtils.getLocalizedNumber("20,5")); )
Resolved.
Thanks for the tip!
*** Bug 289849 has been marked as a duplicate of this bug. ***