This post has NOT been accepted by the mailing list yet.
I am facing an issue with my xwiki instance 6.4.7.Any help is highly appreciated
When we try to delete an attachment the attachment is not getting recovered.
ie the Document index doesnot show up the deleted attachments.
When I see the attachment directory the file is deleted from the location and another entry is created in the deleted-attachements directory.The same thing is happening if I try to rollback to another version which we had prior to attaching a document and then come back to the same version.Once we rollback get this error:
Steps to reproduce this error:
1) Write comments - version1
2) Attach any document in a page. - version2
3) Write some comments to a page -version 3
4) Go to history/minor edits and rollback to the first version version1.
5) rollback is successful
6) Now rollback to the 2nd version I get this error below as the attachment is deleted from location
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -31