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

og:image:alt tag is mapping to wrong field

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      3
    • Fix Priority:
      3
    • Sprint:
      LIMA |QA Sprint 11

      Description

      Test steps:'

      1. Enable feature about `Allow to mix text with mapping for meta tags`
      2. Add a new site(Test Site Name)
      3. Add a new Display Page Templates(Display Page Name) with Document or Blogs
      4. Publish it
      5. Configure it and go to Open Graph
      6. Map Image with "Author Profile Image"
      7. Image Alt Description with "Open Graph Image Alt Description ${description} ${authorName}"
      8. Click Save button
      9. Add Display Page Content fragment into Display Page Template Name
      10. Publish the Display Page Template
      11. Add a new document or blogs
      12. Select Specific Display Page Templates for document: Display Page Name for it and publish it
      13. Login out
      14. Visit the document by Friendly URL

      Expected result: 
      HTML contains a meta tag `og:image:alt` with the text "Open Graph Image Alt Description" and two mapping fields, like

      <meta property="og:image:alt" content ="Open Graph Image Alt Description blogs description Test Test">
      

      Current result: 
      The meta tag `og:image:alt` is mapping to a wrong field, and no text(Open Graph Image Alt Description), shows like

      <meta property="og:image:alt" content="Test Test">
      

        Attachments

        1. blog image alt.png
          blog image alt.png
          199 kB
        2. document image alt.png
          document image alt.png
          243 kB
        3. reproduced_1.png
          reproduced_1.png
          22 kB
        4. reproduced_2.png
          reproduced_2.png
          21 kB

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              yvonne.han Yvonne Han
              Participants of an Issue:
              Recent user:
              Yvonne Han
              Engineering Assignee:
              Alicia Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 weeks, 1 day ago

                  Packages

                  Version Package