This project is read-only.
1

Closed

Multi select actions fail if the subsequent dialog fails to submit due to a validation.

description

Technical details

If a number of entities are selected in a list (as when returned from an IQueryable) and an action is then invoked for these multiple items, a dialog screen will appear. The multiple entities will be displayed as “x entities”.
However if the Ok and submit of the dialog fails due to a validation error and this validation includes a post-back (ie for validation of a Domain entity) and thus causes a refresh of the form, the entities will then be display as ‘1 object’.

The dialog form cannot then complete as it fails on this “object”, even when all other fields are correct. However clicking in the hyper link ‘1 object’ will display the list of entities that were originally selected.

It appears that the refresh of the dalog screen is not correctly recognising the list of entties as just that and rather presumes it to be one object
Closed Mar 21, 2014 at 4:30 PM by RichardPawson

comments

scascarini wrote Jan 23, 2014 at 9:29 AM

Fixed with change to ColletionMemento handling on server. Added test.