core icon indicating copy to clipboard operation
core copied to clipboard

Multiple File Upload doesnt upload custom files with required fields

Open mabouza opened this issue 14 years ago • 5 comments

I created a new type of File called: MyDocument. This new type has a required field called Description.

When uploading Multiple Files it fails and doesn't show any errors on the site.

On the logs we get this error [20/04/12 13:29:42:439 PDT] ERROR business.ESContentletAPIImpl: com.dotmarketing.portlets.contentlet.business.DotContentletValidationException: Contentlets' fields are not valid List of non valid fields REQUIRED: description1/Description,

I think we should display an error message on the page explaining to the user why the upload doesn't work.

mabouza avatar Apr 20 '12 20:04 mabouza

An even better solution would be to prompt for the required (or all) fields for each file trying to be uploaded rather than to fail

lward avatar Apr 20 '12 20:04 lward

I agree completely but I think at least for this release its necessary to have an error message so the user knows what's happening.

mabouza avatar Apr 20 '12 20:04 mabouza

Sam Add messaging to the system here when it has a required field. Don't allow but fail gracefully and let the user know.

jtesser avatar May 18 '12 11:05 jtesser

Prasad will QA test

DeanGonzalez avatar May 29 '12 13:05 DeanGonzalez

now it errors if it is required field and does not allow the multifile upload with required custom fields

DeanGonzalez avatar Jun 12 '12 20:06 DeanGonzalez