Page MenuHomePhabricator

Display to user why an object is not stored
Closed, ResolvedPublic

Description

When trying to edit an existing or create a new object, the object is being validated before saving.

If the object is not valid, the edit or new object is not stored.

The reasons for why this validation failed should be displayed to the contributor.

Event Timeline

gengh subscribed.

Closely related to (if not duplicate of) T276824

If someone can provide me a way to reproduce a "failing" object, I can reproduce it and see if my API validation have fixed the issue.

Jdforrester-WMF subscribed.

Yup, this is done:

image.png (1×1 px, 260 KB)

(Tested deleting the Z3K3 key from Z6.)