Republishing a web content article with an image with localized content results in losing the image.
Description
Environment
Attachments
relates
Activity

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 AMEdited
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
Details
Assignee
Justin ChoiJustin Choi(Deactivated)Reporter
Justin ChoiJustin Choi(Deactivated)Branch Version/s
6.1.xBackported to Branch
CommittedEpic/Theme
Fix Priority
5Git Pull Request
Bug Type
Regression BugComponents
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Branch Version/s
Backported to Branch
Epic/Theme
Fix Priority
Git Pull Request
Bug Type
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

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.