To add a check or warning when archiving a new folder with the same name as existing folder in the Archive DB.
There is an SPR JSTN9FVREA.
https://www.ibm.com/support/pages/apar/LO78905
The difference is, in that case end user believed the "first" folder was gone from the Archive. Reality it is still there. (Seen in View > Goto...) but since it's a duplicate, the navigator cannot display it.
Instead we should have error checking code to prompt user when archiving with something like "Folder TEST" already exists in your archive. In order for both folders to be viewable, the new one will be renamed to TEST-2 in your Archive".
We would like to add more information, when archiving to a new folder with the same name as existing folder in the Archive DB. That the document will be placed in the existing folder in the Archive DB instead of in the All documents.
Ideally should be performed two verification's when archiving document:
(1) First to check if the ID of the folder already exist in the archive database.
(2) If the ID already exist, to check if the name is the same as existing folder in the Archive DB.
(3) If the name of folder "Folder TEST" already exists in the archive, prompt user when archiving, if wants to archive the document in the existing folder "Folder TEST" or create a new folder for example "Folder TEST-2" or other desired name.