Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2279

Returning a link from Ajax event does not cause refresh if URL is the same

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      When returning a link from an ajax event, the page does not refresh if the URL is the same as the current URL.

      Sample ajax response

      {
      	"redirectURL" : "/comments/52e9f9e5e4b0ba0bb0273298/3?page=1#com"
      }
      

      A workaround is to include a unique parameter at the end of the URL. This behaviour occurs in Chrome, Firefox, Opera on Ubuntu and Safari on Mac OS X

      Forum thread here:
      http://tapestry.markmail.org/search/?q=list%3Aorg.apache.tapestry.users#query:list%3Aorg.apache.tapestry.users+page:1+mid:ac72fr7frzt6ph5l+state:results

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              uklance Lance
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: