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

User is unable to preview an image in Web Content

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: 6.1.30 EE GA3
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.1.x EE GIT ID: ef9dad2fdec1063a3f0a3b7cc9da248231983d9b.
    • Fix Priority:
      4

      Description

      The image preview function is broken. When the user clicks Save as Draft, an image preview is generated. Clicking that preview does not display the image at all in a new browser tab/window. Even after publishing the article, the image is not seen at all.

      Steps taken:

      1. Go to Control Panel> Web Content.
      2. Create a structure with the following properties: Image.
      3. Create a template with the following VM template:
        <img src="$Image.getData()" />
      4. Create a web content article using this structure and template.
        1. Save as Draft.
        2. Click Preview. There is no image displayed.
      5. Publish the article.

      Expected behavior:

      • User is able to preview an image before publishing.

      Actual behavior:

      • Broken image link appears.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              justin.choi Justin Choi (Inactive)
              Reporter:
              justin.choi Justin Choi (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 28 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.30 EE GA3