Dragging content to incompatible content pickers bypasses validation and allows saving invalid data #17848
Labels
affected/v15
state/sprint-candidate
We're trying to get this in a sprint at HQ in the next few weeks
type/bug
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
15.1.1
Bug summary
It is possible to drag and drop content from one content picker to another, even if the destination content picker doesn't allow the type of dragged and dropped content.
It is also possible to save and publish in that state.
Specifics
No response
Steps to reproduce
A
,B
andC
A
two content picker properties: One that picks only typeB
and one that picks only typeC
A
,B
andC
A
, pickB
andC
in the content pickers respectively. Save and publish.B
to the property that picks contents of typeC
Expected result / actual result
Expected
Client-side: Dragging incompatible content should be blocked with a validation message.
Backend: If validation is bypassed, the backend should reject the request with an appropriate
4xx
error.Actual
Client-side: Dragging is not blocked, and no validation is shown.
Backend: Accepts and processes the invalid data, responding with
200 OK
.This item has been added to our backlog AB#47426
The text was updated successfully, but these errors were encountered: