From 863c6e0fc693423d6e808f348ba93ab4f330d4ff Mon Sep 17 00:00:00 2001 From: Geronimo Ortiz Date: Tue, 26 Nov 2024 13:31:00 -0300 Subject: [PATCH] Issue 30724 Task url redirecting only language_id=1 (#30775) The path was only sending the url of the page, lang id was not being sent so it was setting the default one (1). To fix it, the proper language id was set to the url when rendering the task detail tab so now when clicking to the page url it is going to send to the correct language version --- .../html/portlet/ext/contentlet/view_contentlet_popup_inc.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotCMS/src/main/webapp/html/portlet/ext/contentlet/view_contentlet_popup_inc.jsp b/dotCMS/src/main/webapp/html/portlet/ext/contentlet/view_contentlet_popup_inc.jsp index b3dd530f6a2e..595a966377b3 100644 --- a/dotCMS/src/main/webapp/html/portlet/ext/contentlet/view_contentlet_popup_inc.jsp +++ b/dotCMS/src/main/webapp/html/portlet/ext/contentlet/view_contentlet_popup_inc.jsp @@ -241,7 +241,7 @@ if(!hasPermissions) { <%if(structure.getStructureType()==Structure.STRUCTURE_TYPE_HTMLPAGE || isUrlMap ){ %> <%session.setAttribute(com.dotmarketing.util.WebKeys.CMS_SELECTED_HOST_ID, content.getHost()); %> -
<%= editPath%>
+
<%= editPath%>
<%}else if(structure.getStructureType()==Structure.STRUCTURE_TYPE_FILEASSET ){ %>
/dA/<%=shorty.shortify(content.getInode()) %>/fileAsset/<%=id.getAssetName() %>?mode=PREVIEW_MODE
<%} %>