Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17250

TC-120 (eZ comments)(Oracle) Notifications on comments are not working

    XMLWordPrintable

Details

    Description

      Hi,
      In Oracle, when we create a comment, as anonymous, and check the "Notify me of new comments", the notifications are not being sent.

      Note: Subscription email is being sent. In this test, the subscription was confirmed.

      Steps to reproduce
      Setup - Give anonymous user access to post comments
      
         1. Log in as admin in ezwebin admin
         2. Click on "User accounts" in top menu
         3. Click "Roles and policy" in left menu
         4. Click edit icon next to "Anonymous"
         5. Click "New policy" button
            Module: comment
            Function: Add
         6. Click "Grant full access"
         7. Click "New policy" button
            Module: comment
            Function: Read
         8. Click "Grant full access"
         9. Click "New policy" button
            Module: comment
            Function: Activate
        10. Click "Grant full access"
        11. Click "Save" button
      
      Move test article to a folder
      
         1. Click "Content structure" in top menu
         2. Create new folder "News"
         3. Click "Comments system testing" link
         4. Click "Move" button
         5. Select radio button next to "News"
         6. Click "Select" button
      
      Post an anonymous comment
      
         1. Go to webin as anonymous
         2. Click "News" in top menu
         3. Go to plain site (don't login)
         4. Click on the "Comment system testing" article in the sub items list
         5. Fill in the comment form as follows:
            Title: Comment by an anonymous coward
            Name: Anonymous coward
            Website: leave blank
            Email: [ an email address the tester has access to ]
            Content: This is an anonymous comment
            Notification: check
         6. Click on "Add comment"
      
      Check that an email confirmation is required
      
         1. Validate that an email explaining that an email confirmation is required is sent to the email address provided above.
         2. Do NOT click the validation link in that email yet (will do this later inste.
      
      Create a administrator user
      1 . create a "testuser1" as administrator
      
      Post a comment as a registered user
      
         1. Log in as testuser1 in ezwebin
         2. Click "News" in top menu
         3. Click on the "Comment system testing" article in the sub items list
         4. Fill in the comment form:
                * Title: "Comment from testuser2"
                * Name: leave as is
                * Website: leave as is
                * Email: leave as is
                * Content: "A comment by test2"
         5. Click on "Add Comment"
         6. Log out from ezwebin
      
      Run the ezcomments cronjob
      
         1. Log in as admin in ezwebin
         2. Click "Selenium tests" in top menu
         3. Click "Cronjobs" in left menu
         4. Select SiteAccess ezwebin_site_admin
         5. Execute the "ezcomments" cronjob
         6. Log out from ezwebin admin
      
      Check that the anonymous user wasn't notified
      
         1. Check that no email notification about the new comment was sent to anonymous user
      
      Confirm the email address for the anoymous user
      
         1. In regards to the validation email explained in "Check that an email confirmation is required", click the validation link now
         2. Check that you in the browser get a message that confirms your notification subscription
      
      Run the ezcomments cronjob
      
         1. Log in as admin in ezwebin
         2. Click "Selenium tests" in top menu
         3. Click "Cronjobs" in left menu
         4. Select SiteAccess : ezwebin_plain_site
         5. Execute the "ezcomments" cronjob
         6. Log out from plain admin
      
      Check that the anonymous user was not notified
      
         1. Check that a notification email was not sent to the email address you specified earlier
      
       
      
      Post a comment as a registered user
      
         1. Log in as testuser1 in ezwebin
         2. Click "News" in top menu
         3. Click on the "Comment system testing" article in the sub items list
         4. Fill in the comment form:
                * Title: "Comment2 from testuser2"
                * Name: leave as is
                * Website: leave as is
                * Email: leave as is
                * Content: "A comment by test2"
         5. Click on "Add Comment"
         6. Log out from ezwebin
      
      Run the ezcomments cronjob
      
         1. Log in as admin in ezwebin
         2. Click "Selenium tests" in top menu
         3. Click "Cronjobs" in left menu
         4. Select SiteAccess : ezwebin_plain_site
         5. Execute the "ezcomments" cronjob
         6. Log out from plain admin
      
      Check that the anonymous user was notified
      
         1. Check that a notification email was sent (for the "Comment2 from testuser2" comment)  to the email address you specified earlier
      
      

      Attachments

        Activity

          People

            unknown unknown
            pcardiga pcardiga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: