Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.0.0-beta3, 2.0.0-rc1, 2.1.0-beta1, 2.0.2
Description
1. Create content type with URL field type, not required
2. Go to creating content item with content type from previous step
3. Fill only text field, I've put "text"
4. Click publish - there is an error:
Argument '%argumentName%' is invalid: expected value to be of type 'string'
Technical information:
The interface displays a 500, but actually it's a 400 (Bad request).
ezrepoforms_content_edit[fieldsData][new_ezstring_1][value]:EZP-28554 ezrepoforms_content_edit[fieldsData][new_ezauthor_2][value][authors][0][id]:1 ezrepoforms_content_edit[fieldsData][new_ezauthor_2][value][authors][0][name]: ezrepoforms_content_edit[fieldsData][new_ezauthor_2][value][authors][0][email]: ezrepoforms_content_edit[fieldsData][new_ezcountry_4][value]: ezrepoforms_content_edit[fieldsData][new_ezemail_5][value]: ezrepoforms_content_edit[fieldsData][new_ezkeyword_6][value]: ezrepoforms_content_edit[fieldsData][new_ezurl_7][value][link]: ezrepoforms_content_edit[fieldsData][new_ezurl_7][value][text]:text ezrepoforms_content_edit[publish]: ezrepoforms_content_edit[redirectUrlAfterPublish]: ezrepoforms_content_edit[_token]:RJm1IFyAuFZR7vIUxZdKf68SK2Kxr4YkvoqumrmICxc
Attachments
Issue Links
- is duplicated by
-
EZP-28617 Bad Request exception when saving empty non-mandatory URL with Text
- Closed