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

TC-112 (eZ Comments) In Website is not in the personal information that can be remembered when using comments

    Details

      Description

      Hi,
      when we, as anonymous, enter a comment, some of the fields are remembered if we post a second comment. The fields that should be remembered and pre-filled are:

      • Name
      • Email
      • Website

      The "website" it's not being pre-filled on the second comment. The others are. (name, email)

      Steps to reproduce

      --filter="eZCommentsSeleneseTests::.*initialize_and_create_object.html"
       
      Setup
       
         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 "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 a comment
       
         1. Go to webin as anonymous
         2. Click "News" in top menu
         3. Click "Comments system testing"
         4. Click on the "Comment system testing" article in the sub items list
         5. Below the article, fill in the comment form fields:
            Title: Remember me comment
            Name: An anonymous user
            Website: http://anonymous.ez.no
            Email: anonymous@ez.no
            Content: This is a comment from an anonymous user
            Notified: leave unchecked
            Remember me: check
         6. Click on "Add comment"
         7. Click "Back" button on "Posting succeeds!" page
       
      Expected result
       
         1. Go to the same article again
         2. Check that name, website and email are pre-filled with the previously entered values:
            Name: An anonymous user
            Email: anonymous@ez.no
            Website: http://anonymous.ez.no
      
      

        Activity

        Hide
        Chen Xiongjie added a comment -

        One question: should the website be remembered? then how about registered user since the website is not in the profile. Should the fist input website be remembered?

        Show
        Chen Xiongjie added a comment - One question: should the website be remembered? then how about registered user since the website is not in the profile. Should the fist input website be remembered?
        Show
        Damien Pobel (eZ) added a comment - Fixed in ezcomment master : https://github.com/ezsystems/ezcomments/commit/2b0a5e69bdcefe36717999916f629762649a18ce
        Hide
        Geir Arne Waaler added a comment -

        The issue is fixed. I hence move it from Code Review to Closed.

        Geir Arne Waaler
        eZ Documentation

        Show
        Geir Arne Waaler added a comment - The issue is fixed. I hence move it from Code Review to Closed. Geir Arne Waaler eZ Documentation

          People

          • Assignee:
            Damien Pobel (eZ)
            Reporter:
            Paulo Cardiga
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: