Form can be submitted even if FormStorageServiceBaseAddress is incorrect

Found in

EPiServer.Forms 4.27.0

Fixed in

EPiServer.Forms 4.27.0

Created

Oct 23, 2019

Updated

Nov 01, 2019

State

Closed, Fixed


Description

Steps to reproduce

1. A CMS site with EPiServer.Forms.4.27.0-pre-000082 & EPiServer.Forms.CloudStorageProvider.0.1.0-pre-000458 is installed.
2. Create a form with some elements.
3. Drag the form to a page then publish all.
4. Change FormStorageServiceBaseAddress to an invalid value, for example:
<add key="episerver:FormStorage.FormStorageServiceBaseAddress" value="http://abczzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.com/" />
5. Submit the form.

Expected:
The form shows an error message and cannot be submitted.

Actual:
The form is successfully submitted.