ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pawan Verma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-11018) Redirection of pathAlias to aliasTo does not work properly
Date Fri, 10 May 2019 12:43:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-11018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837235#comment-16837235

Pawan Verma commented on OFBIZ-11018:

Fix pathAlias redirect issue, Now if the user updates the pathAlias from backend, the user
will redirect properly on the new alias. Attached patch for the same.

> Redirection of pathAlias to aliasTo does not work properly
> ----------------------------------------------------------
>                 Key: OFBIZ-11018
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11018
>             Project: OFBiz
>          Issue Type: Bug
>          Components: cmssite, content
>    Affects Versions: Trunk, Release Branch 17.12, Release Branch 18.12
>            Reporter: Pawan Verma
>            Assignee: Pawan Verma
>            Priority: Major
> Link of discussion: [https://markmail.org/message/s37whdteejqdzkha]
> In CMS, we can redirect the user to different path alias using 'aliasTo' field of *WebSitePathAlias*
> Example - 
>  <WebSitePathAlias pathAlias="demoHome" webSiteId="CmsSite"  fromDate="2019-05-01
00:00:00.0"  aliasTo="newDemoHome"  />
> Based on the above data, if the user hit the 
> [https://localhost:8443/cmssite/cms/demoHome], the CMS will internally render the content
for 'newDemoHome' pathAlias.
> As per my observation, the content for  "newDemoHome" is renderd properly (as expected)
but the URL of the page (in browser) doesn't change.
> We should also update the URL also, i.e. change browser URL from
> [https://localhost:8443/cmssite/cms/demoHome] to [https://localhost:8443/cmssite/cms/newDemoHome]

This message was sent by Atlassian JIRA

View raw message