PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-37844

Activities should always contain the actual title of the entity to keep records

    Details

    • Story Points:
      4
    • Similar Issues:
      Show 4 results 

      Description

      In order to be able to show previous activities correctly even after an entity is updated, we have to make sure all necessary information is recorded within the activity. The most prominent one is title.

      To manually test follow these steps:

      1. Create the entity
      2. Update the title/name of the entity
      3. Move the entity to trash

      Check the results in the activities portlet. You should see the original title in the message for the addition but you should see the new title in the update/move to trash messages.

      Note: there are certain entities - mostly folders - that don't show add/update. To test them, you should move/restore once after creating the folder then again after changing the title. This way, you should see two sets of move/restore message with different titles.

        Activity

        Hide
        Yang Gao (Inactive) added a comment - - edited

        FAILED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e965cea14d20fd446ae134cfd710b5502f8b82e9.

        When update the title in Message Board, the activities only show the new title. When move the entity to trash, the activities do not show the title.
        When update the title in Web Content, the activities will all show new title. When move the entity to trash, the activities show the new title.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: bf7b174715cef97d2d53f2cb1155fa087b9a0dd0.

        When update the title in Web Content, the activities will always contain the actual title of the entity to keep records. When move the entity to trash, the activities show the new title.

        Failed on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: bf7b174715cef97d2d53f2cb1155fa087b9a0dd0.

        When update the title in Message Board, it will not show any messages. When move the entity to trash in Message Board, the activities shows the new title.

        Show
        Yang Gao (Inactive) added a comment - - edited FAILED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e965cea14d20fd446ae134cfd710b5502f8b82e9. When update the title in Message Board, the activities only show the new title. When move the entity to trash, the activities do not show the title. When update the title in Web Content, the activities will all show new title. When move the entity to trash, the activities show the new title. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: bf7b174715cef97d2d53f2cb1155fa087b9a0dd0. When update the title in Web Content, the activities will always contain the actual title of the entity to keep records. When move the entity to trash, the activities show the new title. Failed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: bf7b174715cef97d2d53f2cb1155fa087b9a0dd0. When update the title in Message Board, it will not show any messages. When move the entity to trash in Message Board, the activities shows the new title.
        Hide
        Zsolt Berentey (Inactive) added a comment -

        As I have mentioned in the description, there are certain entities (and message boards post is one) that don't have update activities. The updated title will (and should) only be shown in the "move-to-trash" activity.

        I have attached a screenshot with the results you should see.

        Show
        Zsolt Berentey (Inactive) added a comment - As I have mentioned in the description, there are certain entities (and message boards post is one) that don't have update activities. The updated title will (and should) only be shown in the "move-to-trash" activity. I have attached a screenshot with the results you should see.
        Hide
        Yang Gao (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e965cea14d20fd446ae134cfd710b5502f8b82e9.

        When update the title in Message Board, the activities only show the new title. When move the entity to trash, the activities do not show the title.
        When update the title in Web Content, the activities will all show new title. When move the entity to trash, the activities show the new title.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: bf7b174715cef97d2d53f2cb1155fa087b9a0dd0.

        When update the title in Web Content, the activities will always contain the actual title of the entity to keep records. When move the entity to trash, the activities show the new title.
        When move the entity to trash in Message Board, the activities shows the new title.

        Show
        Yang Gao (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e965cea14d20fd446ae134cfd710b5502f8b82e9. When update the title in Message Board, the activities only show the new title. When move the entity to trash, the activities do not show the title. When update the title in Web Content, the activities will all show new title. When move the entity to trash, the activities show the new title. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: bf7b174715cef97d2d53f2cb1155fa087b9a0dd0. When update the title in Web Content, the activities will always contain the actual title of the entity to keep records. When move the entity to trash, the activities show the new title. When move the entity to trash in Message Board, the activities shows the new title.

          People

          • Assignee:
            Yang Gao (Inactive)
            Reporter:
            Zsolt Berentey (Inactive)
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 50 weeks, 3 days ago

              Development

                Structure Helper Panel