Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Show an error when viewing versions of a recipe incompatible with the current version of an action #66

Open
rehandalal opened this issue Apr 3, 2018 · 0 comments

Comments

@rehandalal
Copy link
Contributor

Copied from: mozilla/normandy#361

Since we don't keep history of actions, historic revisions of recipes may be written against missing versions of an actions. This could result in the arguments of the recipe not matching against the current schema of the action. Further, the old arguments are unlikely to work in the current UI.

If this is the case, we should show an error to the user, show them the raw json of the arguments, and prevent them from directly saving a new version of that recipe based on the old version. This is entirely a front-end nicety; our backend will already block this from saving as it won't pass validation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants