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

Web Content: Cannot upload image to a web content article

    Details

      Description

      When adding an image to a web content article, the image is not saved and there is a console error.

      Steps taken:
      1. Add a page.
      2. Add the Web Content Display portlet.
      3. Create an article with the following structure and template:

      • Structure
        • Head - Text Field
        • ImageBox - Text Box
        • Image - Image
      • Template - in the VM Editor, enter:
        • $Head.getData()
        • <p>$ImageBox.getData()</p>
        • <img src="$Image.getData()"/>
      • Title: Test Article.
      • ImageBox: This is a test article.
      • Select an image.
      • Publish the article.

      4. The image does not display and there is a console error (Current URL /web/guest/$Photo.getData() generates exception: null). In the first screen shot, the image does not display in the portlet. In the second screenshot, the image does not display in the Preview.

        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:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 26 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2