mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Field validation failed for QR code field

Open jozef-budac opened this issue 4 years ago • 6 comments

When recording numeric field with QR code, I am able to insert text into it and save. It looks like the problem is only on android phones

you can use project tc04_qrcode to test this.

https://user-images.githubusercontent.com/83582181/135824574-fbe6d398-a982-426d-89af-4cbfad02706d.mp4

jozef-budac avatar Oct 04 '21 09:10 jozef-budac

@jozef-budac can you still reproduce this one?

tomasMizera avatar Mar 22 '22 08:03 tomasMizera

yes, you can still insert text into numeric field

jozef-budac avatar Mar 23 '22 08:03 jozef-budac

That is expected, but it should show a text "Invalid number" or something like that and not let you save the form. Is it working like this?

tomasMizera avatar Mar 23 '22 09:03 tomasMizera

In the manual test there is this requirement:

F7. Try to scan a code with text value for a field with numeric type (num_qrcode). A notification message of incompatible type conversion should pop up.

But probably, this was changed by fields validation redesign.

jozef-budac avatar Mar 23 '22 10:03 jozef-budac

The problem is, that the validation error appears only for a 0.5s and and user is able to save non numeric value into numeric QR code field. After save, the value in the field is 0, but user will believe, scanned value was stored.

jozef-budac avatar Mar 23 '22 10:03 jozef-budac

Still valid bug in 1.9.0

jozef-budac avatar Dec 12 '22 16:12 jozef-budac