Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Dynamic form submitted third time in a row problem

$
0
0
Hello again,
These are the framework used and their versions:
1. SmartGWT version: v9.1p_2014-06-14/LGPL Development Only (built 2014-06-14)
2. GWT version: 2.6.0
3. Mozilla Firefox version: 26.0

I found a bug that it is very hard to be noticed. For example if I have a simple dynamic form and I click the submit button three times in a row the old values are the same as the new values. Keep in mind that before every click of the submit button I change the values from the form.

How to reproduce the bug:
Uncheck the checkbox and click save. Check the checkbox and click save. Again uncheck the checkbox and click save.
In your IDE console you should see:

===========================
Old value: true
New value: false
===========================
Old value: false
New value: true
===========================
Old value: false
New value: false

Please find attached the test case that reproduces the problems.

Attached Files
File Type: java TestCase.java (5.7 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles