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

The link from content field is not shown in edit mode

    Description

    Step to reproduce:

    1. Add a web content structure with a Text field
    2. Add a web content based on new structure
    3. Type title
    4. Type https://www.liferay.com in Text field
    5. Publish
    6. Add a content page based on Blank
    7. Add a Heading fragment to page
    8. Click the editable field of Heading fragment > Link tab
    9. Select From Content Field in Link field
    10. Select the web content in Content field
    11. Select the Text field in Field field

    Expected Results:
    The Heading Example should become primary color. Additionally, the <a> tags with href="https://www.liferay.com" should be inserted in <h1> tags.

    Actual Results:
    The Heading Example is still default color. Additionally, the <a> tags with href="https://www.liferay.com" is not inserted in <h1> tags. However, they work as expected in view mode.

    Note: The Button fragment, Image fragment and Banner Center also have this issue.

    Reproduced on:
    Tomcat 9.0.40 + MySQL 5.7. Portal master GIT ID: dff9a97f1f38623c3e1c7a7d6c51bf1cb46d80e4.

      Attachments

      1. Actual.PNG
        Actual.PNG
        91 kB
      2. Expected.PNG
        Expected.PNG
        103 kB

        Activity

          People

          Assignee:
          yang.cao Yang Cao
          Reporter:
          yang.cao Yang Cao
          Participants of an Issue:
          Recent user:
          Brian Wulbern
          Engineering Assignee:
          Victor Galan
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:
            Days since last comment:
            16 weeks, 2 days ago

              Packages

              Version Package
              Master