Tapestry 5
  1. Tapestry 5
  2. TAP5-959

Ajax event handler methods that return a page instance, page class or page name should cause the client to redirect to that page, but doesn't work in IE7 or 8 if the URL has a query param

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      None
    • Environment:
      Internet Explorer v7 & v8

      Description

      Ajax event handler methods that return a page instance, page class or page name should cause the client to redirect to that page, refer to TAP5-187 and TAP5-613 for those fixes. Unfortunately the mechanism doesn't work in IE7 or 8 if the URL has a query parameter added to the Link object. We have an accountid parameter (e.g. /page?account=1234) added to all render URLs using method advice which exposed this issue.

      The fix is pretty simple - just used window.location.href instead of .pathname

      Unless there's a good reason .href was not used in the first place that I'm not aware of?

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Andy Blower
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development