Deleting entries should delete the subscription to comment

Description

Steps to reproduce:
1. Create blog entry
2. Subscribe to it's comment
3. Check "subscription" table in database you will see entry is there
4. Delete blog entry
5. Check "subscription" table in database you will see entry is still there

Can reproduce with Blog, Webcontent, Shopping, Software Catalog, Documentlibrary, Page Comment portlet.

Attachments

1

Activity

Show:

ginson.ren May 13, 2012 at 7:51 PM

PASSED Manual Testing following the steps in the description.

Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: 683117e00e100b585331a0b3c859b3eb5bfe633c.

ginson.ren May 9, 2012 at 12:25 AM

Steps for testing:
1. Add web content display portlet.
2. Add a new web content.
3. Click configuration of the portlet, enable comment.
4. Click the Subscribe to Comments button.
5. Check the database, in "subscription" table, there is a entry.
6. Delete the web content.
7. Refresh the table, the entry will still be there.
8. Add another web content.
9. Set it to display in web content portlet.

The result on 6.1.x CE was the button show as "Subscribe to Comments". If user click Subscribe to Comments button again, there will be another entry.
But the result on trunk, when the step 7, the entry in database was deleted. After step 9, the button show as "Subscribe to Comments" and if user click Subscribe to Comments button again, there will be a new entry.

ginson.ren May 7, 2012 at 11:48 PM

FAILED Manual Testing following the steps in the description.

Failed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: 4dab0f42a0db0e2782e82ed6c8108738dcefd58b.

ginson.ren February 29, 2012 at 7:15 PM

PASSED Manual Testing following the steps in the description.

Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 30bbc6e1ff249f4ae700bfa68f3dc6956a3db978.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 1409ab9acfac02810f41479f1e57ce1e621215c4.

Jang Kim February 29, 2012 at 7:23 AM

Ginson,
Here's new commits:
6.1.x GIT ID: aa7e23951f9811dc60a524bf37e839a9d4eb8649.
6.2.x GIT ID: c31e89cfe4ad618c82678ddb1747dcd8ccd55287.

Thanks,
Jang

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Git Pull Request

Components

Priority

Zendesk Support

Created February 23, 2012 at 11:25 AM
Updated June 24, 2023 at 3:57 PM
Resolved May 20, 2012 at 8:06 PM
Loading...