Details
-
Bug
-
Resolution: Fixed
-
Major
-
12.6
-
Unknown
-
N/A
-
N/A
-
Description
commentfield.vm is in charge of generating a new editor field on demand for the comments.
It needs to take into account the wiki and user editor preferences as well as the settings of the XWiki.XWikiComments.comment field for its rendering
In addition, in case of error when submitting a captcha, or when editing a comment, the submitted content must be displayed again to the user.
The current approach of the script is based on XClass manipulation that
- complex
- can cause strange race conditions
It's easier to directly use the edit script services to generate editors matching the requirements listed above.
Attachments
Issue Links
- is duplicated by
-
XWIKI-23125 It's not possible to edit comments anymore
-
- Closed
-
-
XWIKI-23113 Abusive modification of the cached document when adding a comment on a page
-
- Closed
-
- relates to
-
XWIKI-19321 NPEs when adding comments with CAPTCHA as guest user which causes weird behavior, preventing adding further comments in all wiki pages
-
- Closed
-