-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M3
-
Fix Version/s: 6.2.3 CE GA4, 6.2.X EE, 7.0.0 M3
-
Component/s: Content Display Widgets > Language widget, Tags
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:9
-
Fix Priority:3
-
Git Pull Request:
1. Create a basic web content with at least 2 different translations and make sure to distinguish them by the content (e.g. include the language ID in the content)
2. Query the database for the articleId of this journal article
3. Set the articleId for the portlet parameter in the file html/new/view.jsp within the attached viewJA-portlet-trunk.war. E.g:
<portlet:renderURL var="link"> <portlet:param name="jspPage" value="/html/viewJA.jsp"/> <portlet:param name="articleId" value="187585"/> </portlet:renderURL>
4. Deploy the updated war and place the "view journal article" portlet on a page
5. Click on the link in the portlet and try to change between translations
Result: You are unable to change the content for another translation
The reason is that the attached demo portlet is using <liferay-ui:journal-article> tag. The same issue has been previously discovered and fixed for the Web Content Display and Asset Publisher portlets in LPS-40504. But the same fix should have been applied to the code of this tag also to ensure custom portlets will not encounter the same bug.
- relates
-
LPE-13143 Cannot change translations when using a "<liferay-ui:journal-article>" tag
-
- Closed
-