Page MenuHomePhabricator

Provide functionality for users to trigger a re-validation of a stored object
Open, LowestPublic

Description

On a ZObject page, there should be the possibility to re-validate the stored object.

When that happens on a page that contains a valid ZObject, and the result of the re-validation is that the ZObject is still valid, nothing further happens.

When that happens on a page that contains a valid ZObject, and the result of the re-validation is that the ZObject is not valid anymore, we need to mark that ZObject as invalid. That is similar to what happens when storing an invalid ZObject using an override.

When that happens on a page that contains an invalid ZObject, and the result of the re-validation is that the ZObject is now valid, the ZObject the marker that this ZObject is invalid should be removed.

When that happens on a page that contains an invalid ZObject, and the result of the re-validation is that the ZObject is still invalid, then, in case we store the reason for invalidity, we update that reason if necessary.