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

Republishing a web content article with an image with localized content results in losing the image.

    Details

      Description

      When the user republishes a web content article with an image in the structure and localized content, the image is not published again and disappears after the user refreshes the page.

      Steps taken:
      1. Add a page.
      2. Add the WCD portlet.
      3. Add an article with the following properties:

      • Add a structure with the following fields:
        • Head
        • ImageBox
        • Image
      • Save.
      • Add a template with the following Velocity properties:
        • <h2>$Head.getData()</h2>
        • $ImageBox.getData()
        • <img src="$Image.getData()"/>
      • Save.

      4. Enter a title in the Title and Head fields. Flag the localizable check box.
      5. Enter content in the ImageBox field. Flag the localizable check box.
      6. Upload an image. Do NOT flag the localizable check box.
      7. Publish the article.
      8. Click the Edit icon.
      9. Click the Add Translation button.
      10. Select Spanish (Spain).
      11. Using Google Translate, enter the content of the article into the translator and then paste the content into the fields.
      12. Save the translation.
      13. Publish the article again.
      14. Refresh the screen. The image disappears.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              justin.choi Justin Choi
              Reporter:
              justin.choi Justin Choi
              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:
                8 years, 14 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2