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

Generated summary for webcontant contains JSON structures

Details

    • 3

    Description

      WebContent Structures which contain "Link To Page" fields render this content as a JSON object in the summary, which is displayed in the search results. This makes the generated summary unusable for our internal search implementation.

      Steps to reproduce:

      1. Setup the minimal liferay installation (I use the tomcat bundle)
      2. Create a structure that holds at least one "Link to Page" field:
      3. Create a web content from that structure:
      4. Search for the content from the Home page:
      5. Observe the search result:

      In the marked Area I expect a human readable text. The embedded JSON structure '{"groupId": "20123", ...' is not expected there. I see multiple options for a fix:

      • render nothing for links in the summary
      • render the title of the targetted page
      • render a nice looking placeholder

      Just don't show the casual reader a technical structure.

      Attachments

        Issue Links

          Activity

            People

              support-lep@liferay.com SE Support
              matthias.blaesing Matthias Bläsing
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 1 week ago

                Packages

                  Version Package