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

Clicking on a user in the mentions list throws javascript error

    Details

      Description

      Issue
      Clicking on a user in the mentions list throws javascript error:
      prevTriggerPosition.container.split is not a function

      Step to reproduce:

      1. Add a public user (user1)
      2. Add a Message board portlet to any page
      3. Add a new thread
      4. In the body, add a mention ( @user1 )
      5. Add a whitespace, then add a line break
      6. Add a whitespace, then press Backspace button to remove that whitespace
      7. Note the list of users is displayed
      8. Click on Mention list to add mention of user1 again

      Actual results
      Console error occur and Mention list is still displayed.
      See attached Step_To_Reproduce_Other_Bug.mov

      Expected results
      User list is not displayed as cursor is on a new empty line.

      Reproduced in
      DE-93
      70x Commit: d31412fff61784a7fe6d3c84258780f60ff56cad
      Master Commit: 0ed8adf772ae627d45f01ce41542ba50f7119f71

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            dinh.thai Dinh Thai (Inactive)
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Dinh Thai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 9 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP96
                7.0.10.15 DXP SP15
                7.0.X
                7.1.10 DXP FP20
                7.1.10.5 SP5
                7.1.X
                7.2.10 DXP FP9
                7.2.X
                7.3.5 CE GA6
                7.3.10 DXP GA1
                7.3.X
                Master