Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11018

Redirection of pathAlias to aliasTo does not work properly

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 18.12, Release Branch 17.12, Trunk
    • 16.11.06, 17.12.01, 18.12.01
    • cmssite, content
    • None

    Description

      Link of discussion: https://markmail.org/message/s37whdteejqdzkha

      In CMS, we can redirect the user to different path alias using 'aliasTo' field of WebSitePathAlias entity.

      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

      Attachments

        1. OFBIZ-11018.patch
          2 kB
          Pawan Verma
        2. OFBIZ-11018.patch
          3 kB
          Pawan Verma
        3. Image 001.png
          8 kB
          Jacques Le Roux

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            pawan Pawan Verma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment