PUBLIC - Liferay Social Office Community Edition
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-2071

Microblogs autocomplete tagging doesn't work if a user inputs more than the first name

    Details

    • Fix Priority:
      4
    • Affects Portal Version/s:
      6.2.10 EE GA1
    • Similar Issues:
      Show 4 results 
    • Portal Fix Version/s:
      6.2.0 CE GA1, 6.2.10 EE GA1

      Description

      When trying to tag another user in microblogs, the autocomplete doesn't work correctly if a user types in anything more than the first name when they click on the autocomplete menu.

      Steps to reproduce:

      1. Log in as a user that is a connection of Test Test and go to microblogs
      2. Type in "tagging @Test", select Test Test user from the dropdown, and click post
      3. Type in "tagging @Test Test", select Test Test user from the dropdown, and click post
      4. Type in "tagging @Test with text after", select Test Test user from the dropdown, and click post
      5. Assert that the tag displays properly for the first entry (Test Test), improperly for the second entry (@Test Test), and not at all for the last entry (@Test)

      Expected Results:
      The microblogs entries should display tags the same way, like so:
      1. Tagging Test Test (with a link)
      2. Tagging Test Test (with a link)
      3. Tagging Test Test with text afterwards (with a link)

      Actual Results:
      The microblogs do not display tags the same way:
      1. Tagging Test Test (with a link - correct)
      2. Tagging @Test Test (with a link)
      3. Tagging @Test with text afterwards (no link)

      See the gif for an animation of the process.

        Issue Links

          Activity

          Show
          Sherry Yang added a comment - trunk https://github.com/liferay/liferay-plugins/pull/125
          Show
          Sherry Yang added a comment - 6.2.x https://github.com/liferay/liferay-plugins-ee/pull/71
          Show
          Sherry Yang added a comment - trunk https://github.com/johnnyhowey/liferay-plugins/pull/480
          Show
          Sherry Yang added a comment - For 6.2.x https://github.com/johnnyhowey/liferay-plugins-ee/pull/377
          Hide
          Ken Duenwald added a comment - - edited

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0.42 + MySQL 5. Portal 6.2.0 CE GA1.
          Plugins 6.2.x CE GIT ID: e09ca932ad3ddf8dc5936165a0ce64dbc63c802a.
          Tomcat 7.0.42 + MySQL 5. Portal 6.2.10 EE GA1.
          Plugins 6.2.x EE GIT ID: 88e90d2f7181dfd42dcd44c883fff5222a314811.

          Tagging now works if more than the first name is added.

          The process however, leaves behind excess text (See SOS-2126)

          Show
          Ken Duenwald added a comment - - edited PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0.42 + MySQL 5. Portal 6.2.0 CE GA1. Plugins 6.2.x CE GIT ID: e09ca932ad3ddf8dc5936165a0ce64dbc63c802a. Tomcat 7.0.42 + MySQL 5. Portal 6.2.10 EE GA1. Plugins 6.2.x EE GIT ID: 88e90d2f7181dfd42dcd44c883fff5222a314811. Tagging now works if more than the first name is added. The process however, leaves behind excess text (See SOS-2126 )

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:
                Days since last comment:
                1 year, 18 weeks, 2 days ago

                Development

                  Structure Helper Panel