Loading...
 
Skip to main content

Wrong feedback to comment poster when Comments Moderation is on and post is not shown

Status
Closed
Subject
Wrong feedback to comment poster when Comments Moderation is on and post is not shown
Version
12.x
13.x
Category
  • Error
  • Usability
Feature
Comment
Edit interface (UI)
Spam protection (Anti-bot CAPTCHA)
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(1)
Description

Missing (12.x) or wrong (13.x) feedback to comment poster when Comments Moderation is on and post is not shown

However, in the show.t.o instance for 12.x, I couldn't get the same behavior I saw a few weeks in a 12.x in localhost.

Current issues reproduced in the show.t.o 12.x instance:
Adding a comment as anon to the homepage (with comments moderation enabled):
http://xavi-9794-5310.show.tikiwiki.org/tiki-index.php

Copy to clipboard
Notice: Array to string conversion in /var/www/xavi-9794-5310/vendor/bombayworks/zendframework1/library/Zend/Filter/Alnum.php on line 144

Copy to clipboard
Your comment was posted. No object information provided.


In 13.x I saw the same output (without the initial array notice):

Copy to clipboard
Your comment was posted. No object information provided.


This seems to be an error message:

No object information provided


And "Your comment was posted." is a missleading information, since the comment is not visible yet (until moderation happens). So a better message could be shown in this case, something like:

"Your comment was posted but is pending moderation, and until approval, it will not be shown"

When viewing the page again, it says:
"There are no comments at this time."

when you would expect to see something like:

"There are some comments hidden pending moderation"


And last, as registered users, there is no feedback of what happens in that tiki site that their comments are gone after clicking at "post".
Solution

Fixed the case for anonymous users posting with comment moderation enabled, in r51991 (13.x) and r51992 (12.x)

Still pending some way to do an equivalent fix for registered users. They currently get no feedback of what happens in that tiki site that their comments are gone after clicking at "post".


fixed by jonnyb in r52052 & r52054 in 13.x, and backported to 12.x in r52114 . Thanks jonnyb

Importance
6
Easy to solve?
7
Priority
42
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5310
Created
Thursday 10 July, 2014 19:31:51 UTC
by Xavier de Pedro
LastModif
Friday 25 July, 2014 19:56:29 UTC


Show PHP error messages