Details
-
Bug
-
Resolution: Done
-
Medium
-
None
-
2.0.0-rc1
-
dev
Description
400 Bad Request exception occurs when saving content item with empty non-mandatory URL but with Text.
Prereq.: Create a Content Type with a URL field type which not required.
Steps
- Go to Content / Content structure.
- Start creating new item using the CT with URL.
- Insert both URL and Text. (screen1)
- Save. [OK]
- Remove both URL and Text, leave them blank. (screen2)
- Save. [OK]
- Insert only URL. (screen3)
- Save. [OK]
- Insert only Text. (screen4)
- Save.
Actual: 400 Bad Request "Argument '%argumentName%' is invalid: expected value to be of type 'string'" (screen5)
Remarks: I guess workaround is to make URL required.