Comments No Longer Appear in the Output
Problem
User comments that previously appeared in my output are now missing.
Possible Cause
This could happen if you change the site/version configuration after the comment was posted because the association between the page and the previously posted comment would be lost. That association is directly dependent upon the Base URL configured for the associated version. When a comment is posted, the Base URL is used to obtain a relative path from the page URL and the comment is associated with that relative path. Therefore, if you change the Base URL after a comment is posted, the relative path of the page computed for the new Base URL and the relative path associated with the comment in the database will not match. This results in the comment no longer being displayed on that page.
- Suppose the original Base URL for a particular version of
a site configuration
is:
https://example.com/docs/myProduct/
- A user posts a comment on a page with this
URL:
https://example.com/docs/myProduct/v1.0/installation/configure-db.html
- Oxygen Feedback will associate the user's comment to the
relative path
of:
v1.0/installation/configure-db.html
- Suppose a site admin changes the Base URL
to:
https://example.com/docs/myProduct/v1.0/
- When a user navigates to that page, Oxygen Feedback
determines that the relative path
is:
installation/configure-db.html
When Oxygen Feedback queries the comments for the page using that relative path, the original comment will not be found.