Comments that are edited to be null are successfully posted as an ellipsis

Description

If a comment is edited so that it becomes null and then published, the system successfully posts the newly edited comment as an ellipsis instead of not posting and telling the user to type in a valid comment.

Here are the steps to reproduce the issue:

1. Add a page comments portlet
2. Post a comment that says "Comment"
3. The comment will be successfully posted as expected
4. Hover the mouse over the newly created comment and click "Edit"
5. Delete the word "Comment" so that the comment field is now blank
6. Click "Publish"
7. The comment will be successfully posted as an ellipsis

Environment

Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: 19d041d9dddb7b76f85cf1fd57e57a0ccc57960d. Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: 7cc0e8072033700797aa0271e2c4740425817c3f.

Activity

Show:

EdG April 19, 2013 at 4:05 PM

Hello everyone! We are in the process of removing component "Portlet" from LPS. Please make the necessary adjustments to affected filters. Thanks!

Cynthia Wilburn March 12, 2012 at 2:14 PM

Reopening to add 6.1.1 CE GA2. Close as Fixed.

Luyang Tan January 29, 2012 at 7:05 PM

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 56c71464a969c57ed751820c696e4cffe420e0af.

The comment will be successfully posted as an ellipsis.

Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 085024b8f150d3b493ab5423794c7c1170b1cae3.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: c5af4aa6349c4805f51c003bf56f3fdad826bcdf.

The comment will not be posted and I can see the error message: "Please enter a valid message."

Michael Saechang January 23, 2012 at 11:42 AM

Committed on:
6.1.x GIT ID: 0b0747b43ec2984b2ee83226f5993db94ecbd381.
6.2.x GIT ID: be80a906e2e85e3d96618977bb40e0f48c9e3778.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Git Pull Request

Bug Type

Regression Bug

Components

Affects versions

Priority

Zendesk Support

Created January 17, 2012 at 6:08 PM
Updated June 24, 2023 at 3:45 PM
Resolved October 4, 2012 at 5:10 PM
Loading...