Description
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
15.3.0-rc2
Bug summary
I have content type with block list. Block list item has property with data editor "File upload". While creating new content and filling File upload field in item of block list property I have faced with error: "Invalid content key.".
After investigation I found the issue: block list item does not set 2 props that are required for File upload property editor: ContentKey and PropertyTypeKey. Look at the screenshot (Umbraco.Cms.Core.PropertyEditors.BlockValuePropertyValueEditorBase):
These properties are configured if property is part of content, not is block list item (Umbraco.Cms.Core.Services.ContentEditingServiceBase):
And here are the checks in (FileUploadPropertyValueEditor):
Specifics
No response
Steps to reproduce
- Create content type with block list property (block list should has item with file upload property)
- Create new node
- Fill file upload property
- Try to save
Expected result / actual result
Expected: content saved, no errors
Actual: an error "Invalid content key." occurred.