Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-72704

User can post empty message in other's Wall

    Details

      Description

      Description

      User can post empty message in other's Wall

      Reproduction Steps

      1. Start up Liferay Digital Enterprise 7.0 SP3 bundle
      2. Deploy Liferay Social Networking.lpkg
      3. Log in as Test user and navigate to Test > My profile (localhost:8080/web/test)
      4. Add "Summary", "Requests" and "Wall" portlet from Applications > Social section
      5. Create a new user "Laura" and assign Administrator role to this user
      6. Log in as Laura and add the three portlets on Laura's profile page
      7. Access localhost:8080/web/test
      8. In the Summary portlet, it shows "Add AS Friend" button
      9. Fill in some text and send the adding friend request
      10. Log in as Test, go to Test's profile page, there will be a request message "Laura wants to be your friend"
      11. Click "Confirm"
      12. Log in as Laura and open localhost:8080/web/test
      13. Write no comment in Wall portlet and click "Post"
      Actual Result: The empty comment is posted in Test's wall
      Expected Result: The empty comment should not be allowed to sent out.

      Branch

      Reproduced on ee-7.0.x f968c868c476878822d1650bf58d3208537f52dd
      Reproduced on master 2e7e268a057e11d70d9852ba8aaedb227f09690c

        Attachments

          Activity

            People

            • Assignee:
              sylvia.luan Sylvia Luan
              Reporter:
              david.zhang David Zhang (Inactive)
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 25 weeks, 4 days ago

                Packages

                Version Package
                7.0.X EE
                7.1.X
                Master