Moving folders without breaking links
When one invokes the File --> Move command from the TS GUI, the following shows up: "Warning: Moving files or folders may break existing links." My client wants a mechanism to move files/folders without breaking links. Has anyone developed one?
In addition to what File --> Move already does, I believe the custom Move interface should automatically do all of the following:
* Check whether user is authorized to move items and, if so, whether he has write access to the Destination
* Provide more warnings, e.g., that some users may have browser bookmarks that will break. It may be necessary to update the Web servers to change aliases. It may also be necessary to update the Web-page-not-found error-handling code to redirect to the new location. Ask for confirmation to proceed
* Check whether source folder already exists in Destination. If so, ask user whether to overwrite target. Warn user that, if yes, will lose all that's already in target
* Resolve Modified files that will be affected by the Move. For example, we don't want to move files that are being updated (the user is not all done with them) and publish them automatically. Start by "unmodifying" files that are unnecessarily flagged as Modified.
* Display the source files that are Modified, organized by the user who modified them and the date. Ask the user to get the Modified files resolved (for example, by contacting the people who modified the files), and then terminate program
* Display the Modified files that have "existing links" (to the items being moved), organized by the user who modified them and the date. Ask the user to get the Modified files resolved, and then terminate program
* Display the source files that are attached to a workflow job, organized by the task owner and the date. Ask the user to get the tasks completed, and then terminate program
* Move the source items -- HTML file(s), image(s), etc.
* Move the source DCR(s)
* Update the permissions of the moved content, as necessary
* Change the Extended Attributes of the HTML page(s) to reflect the new location
* Change from "source" string to "Destination" string in all the DCRs with existing links, including the DCRs being moved, which may, for example, have references to images in a source sub-folder
* Regenerate the corresponding HTML pages (in our company, we can determine the vPath of a generated HTML file given the vPath of a DCR)
* Submit/publish the moved items (the newly created items, but not the source items)
* Submit/publish the referring pages (the ones with the links to the moved pages)
* Submit/publish the deletions of the source items
* Provide confirmation to user, and then terminate
Thoughts? Incidentally, we have TS 6.7.2 SP2 and are migrating from Windows to Linux.
Thanks,
S.