Type: Regression Bug
Affects Version/s: Master
Git Pull Request:
Attempting to restore a document from the recycle bin, when a new, identical document already exists causes the recycle bin to crash (null pointer exception.)
Steps to Reproduce:
- Create a Wiki Node titled 'Test'
- Recycle the Node
- Create a new Wiki Node, also titled 'Test'
- Navigate to your recycle bin
- in the options by 'Test', click 'Restore'
Portal shows a 'Duplicate Entry' warning, and prompts the user to pick which version of the entry to keep.
Recycle bin portlet disappears, showing the error 'Portlet is temporarily unavailable'. Console prints a lengthy null pointer exception stack trace. Restore fails.
This bug does not appear consistently-- Automated testing only fails on 1/8 of runs.
Confirmed to fail on my machine(Windows 10), with a pristine server.
Tested with Wiki Content, Web Content, and Basic Documents.
Tomcat 8.0.32 + MySQL 5.6. Portal master GIT ID: fed67d2c2c308ad91fd8209b609761d06dac95a7.