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

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.

Environment

Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 17576433ae3ecb8459a5a260c40a8fe7205b5dbc.

Attachments

2

Activity

Show:

Justin Choi July 26, 2012 at 2:20 PM

PASSED Manual Testing following the steps in the description.

Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: dfca5fe6b1fe2aee2ab72643f251a35ea9c2201e.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e279c1a8f0ec06cc47e423059d260b76c19cee46.

  • Republishing an article with an image after adding a translation (localized content) does not lose the image.

Michael Saechang July 26, 2012 at 12:12 PM

Committed on:
Portal 6.1.x CE GIT ID: e850598df86210aecaa998056c84233304374234.
Portal 6.2.x GIT ID: c0cc96aef3f8eaa7e647bda8f7d223c15c6b1d19.

Justin Choi December 20, 2011 at 10:05 AM

No Longer Reproducible on:

Tomcat 7.0 + MySQL 5. 6.1.x GIT ID:b1c6ffbad53a2965eee4b445e5c0f3b65281ff17

Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 4cdaa67c5f0414a0d8d0220b49b31abb9577e540.

  • User should not manually refresh the page. The data will remain on the portlet.

Justin Choi December 14, 2011 at 9:30 AM

Checking the image preview after adding a translation before publication shows that image is still there.

Justin Choi December 14, 2011 at 9:27 AM
Edited

After manually refreshing the page using IE9 and Chrome, the image is missing and leaves a blank box. Firefox does not show a box. See screenshot: 95647 no image IE9

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Epic/Theme

Fix Priority

5

Git Pull Request

Bug Type

Regression Bug

Components

Affects versions

Priority

Zendesk Support

Created December 7, 2011 at 2:46 PM
Updated June 24, 2023 at 3:36 PM
Resolved July 26, 2012 at 10:32 AM
Loading...