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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        20d 9h 30m 1 Howard M. Lewis Ship 13/Jan/10 02:36
        In Progress In Progress Closed Closed
        7m 11s 1 Howard M. Lewis Ship 13/Jan/10 02:43
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.0 [ 12314122 ]
        Resolution Fixed [ 1 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Andy Blower made changes -
        Attachment TAP5-959_patch.txt [ 12428850 ]
        Andy Blower made changes -
        Field Original Value New Value
        Affects Version/s 5.1.0.5 [ 12313913 ]
        Environment Internet Explorer v7 & v8
        Component/s tapestry-core [ 12312470 ]
        Andy Blower created 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