When the document view page is customized, the comments are not displayed any more when one immediately navigates to the document (with a force reload or just after the authentication)
Please follow these steps to observe the problem:
- Deploy the attached jar to nxserver/plugins
- Start Nuxeo
- Log in as Administrator
- go to the personal workspace
- create a File document
- add a comment and observe that the comment is correctly displayed
- Force the reload of the page
- Observe 2 problems:
- the comments are not displayed any more on the File document
- click on Administrator in the breadcrumbs : observe that the File comments are displayed
A workaround is to import elements.html in the customized "view page" element
- Is referenced in