Skip to content

Conversation

@pmh1
Copy link

@pmh1 pmh1 commented Jun 24, 2019

Why it's needed

If you are using the Workflow extra every time you edit a resource it creates a copy of the original resource (revision) that you edit and only when the revision is approved does it replace the original. If you have a constraints based on the current resource's id, it will not work when you try to select resources while editing the revision.

What it does

It checks if the current resource is a revision and if it is, substitutes the id passed to the connector with the original (source) resource's id.

Check if Preview resource revision is set indicating that we are editing a revision and not the actual page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant