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

AlertManager service does the wrong thing if the Ajax request will terminate with a redirect

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3
    • 5.3
    • tapestry-core

    Description

      When invoking the AlertManager methods during an Ajax request, the AlertManager may not persistently store new Alerts (those that are not of persistent duration), as it expects that they will instead be transferred in the response down to the client for immediate display. However, in the case where a redirect is sent to the client (i.e., returning a page class or instance from the Ajax event handler method), the messages are not displayed on the new page since they were not stored between requests.

      The AlertManager should configure things so that Alerts are added to the response and to the AlertStorage SSO and, if the Alerts are in fact sent to the client, cleared from the SSO as well.

      Attachments

        Activity

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

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment