umbraco / Umbraco.Forms.Issues

Public issue tracker for Umbraco Forms
30 stars 0 forks source link

Cannot create a File Upload field - field validation incorrect v14.1.1 #1294

Closed dmidlane closed 1 month ago

dmidlane commented 1 month ago

When trying to create a File Upload field type the validation rules are not allowing me.

Specifics

If I toggle the 'Allowed file upload types' section's 'Allow all files' on and save the field, I see a validation message saying "Field failed to save: file uploads are restricted to specific file types only, but no file types have been allowed"

If I toggle 'Allow all files' off and then toggle PDF on, I get the same error message, so I am not able to create the field either way.

Tried on Edge and Chrome - same result.

This is a fresh install of Umbraco v14.2.0 and Umbraco Forms V14.1.1

Steps to reproduce

Attempt to create a File Upload field on Umbraco v14.2.0 Umbraco Forms V14.1.1

Expected result

Expected to be able to create a file upload field

Actual result

Was not able to create the field. Shame because it was for a Proof of Concept and I don't have time to roll back to V13.

image

image

If I restrict file types: image

AndyButland commented 1 month ago

Thanks for reporting, but this looks like a duplicate of https://github.com/umbraco/Umbraco.Forms.Issues/issues/1286 that we'll be resolving in the next patch release (due tomorrow). Hence I'll close this issue.