Current State: Closed
Released In: 1.1.0
Target Release: minor
COMMENT uses the beforeSaveHandler to re-read the topic and insert the comment. It gets the comment from the URL params. But if we have the scenario where another plugin has an afterSaveHandler which saves a different
topic, then the beforeSaveHandler in the CommentPlugin
will end up inserting the comment again.
The workaround is for the calling plugin to ensure that any URL params are removed from the request before saving any further topics. The fix is for CommentPlugin
to remove those same params after it has processed them once.
- 24 Feb 2010