Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.1.0.5
    • 5.2.0
    • tapestry-core
    • None
    • 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?

      Attachments

        1. TAP5-959_patch.txt
          0.7 kB
          Andy Blower

        Activity

          People

            hlship Howard Lewis Ship
            andyb Andy Blower
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: