Advanced revert logic
- Applies to:
- All MindTouch Versions
- Role required:
- N/A
Reverting files
Files within Expert are associated with pages for the benefits of permissions, but live independent from pages as far as location. When you link to a file, it links directly to the file via the API. This ensure that if you move a file or rename it, you will not receive broken links within your content.
Since files can be independent of content, this has to be taken into consideration when we revert a page where the location or status of the files has changed. Below you will find multiple scenarios where this could happen along with how the Expert interface will handle this.
Revert a page that does not have the file to a revision that did have it
This situation would occur if you deleted or moved a file from the page and then tried to revert to a revision where that file was originally attached to the page. In this situation, Expert will record a conflict in the revision history for that page, but it will not restore or move the file back to that page.
Revert a page that does have the file to a revision that it didn't have it
This situation would occur if the page currently has a file attached to it, but you revert to a revision where the file was not attached to the page. In this case we will not remove the file, but will note the conflict in the revision history.
Revert a page that does have the file to a revision where the file didn't exist
This situation would occur if the page currently has a file attached to it, but you revert to a revision where the file didn't exist in Expert. In this case we will not remove the file, but will note the conflict in the revision history.