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

ValuesManager with FileItem does not display all validation errors

$
0
0
SmartClient Version: v9.1p_2014-04-29/Pro Deployment (built 2014-04-29)

(SmartGWT Pro 4.1)
Firefox 26.0

Compiled + Hosted mode.

I have discovered a problem using FileItem and ValuesManager. The symptoms are similar to this old post which says the problem was fixed in version 2.2:

http://forums.smartclient.com/showth...tem+validation

My situation is I have 3 DynamicForms tied together with a ValuesManager. One of the forms contains a FileItem, the other two do not. If I submit the ValuesManager and the DataSource returns validation errors for all 3 forms, only the errors for the form with the FileItem appear visually on-screen and I get the following error in the logs:

13:36:12.831:IFCS1:WARN:validation:isc_DynamicForm_3:Validation errors occurred for the following fields with no visible form items
(then it lists the fields and the error messages)

If I remove the FileItem from the form and try the same operation again, errors show on all 3 forms correctly.

I have verified through the developer console that everything checks out and the errors are being returned from the server (also proven by removing FileItem from the first form).

I can put together a standalone test case if required, but is this a known problem with a workaround already?

Thanks.

Viewing all articles
Browse latest Browse all 4756

Trending Articles