Details
Description
I was having some trouble with attachment versioning. I was using XWiki with Tomcat as a Service with Windows Server and I couldn't store more than one revision of my attachments. All the old attachment revisions were lost after restarting XWiki...
The fast workaround is: Configure Tomcat to run as a User account, not a System Account (in the service properties window).
What I found is: XWiki uses a "kind of" CVS repository to store the attachment revisions. When Tomcat is running as a service with a System account, XWiki stores the author name with a "$". This "corrupts" the repository and XWiki can't load it again! Using a User account is a simple workaround for this! Maybe this could be changed in the next version....
Best regards!
Felipe Luiz Christófolli Giotto
Linux User #497287