Uploaded image for project: 'MyFaces Portlet Bridge'
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-164

Bridge shouldn't notify (bridge) request scope attrbiutes that they are being destroyed if only updating the scope at the end of a request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 2.0.0-beta
    • 1.0.1, 2.0.0
    • Impl
    • None

    Description

      The request scope is maintained in a Map of (key, Map) pairs where key is the scopeId and Map is the scopeMap – a Map containing all the current request attributes managed in the bridge request scope. The bridge shouldn't notify attributes in this scopeMap merely because the Map is being replaced/updated – as the bridge does this at the end of every request. (I.e. the bridge lifecyle restores the real request scope from this Map at the beginning of the request and then creates a new Map of the request scope at the end of the request which it pushes back. As this new Map really is just an updated version of the original – release notification isn't desired/shouldn't be done. But it is. So fix it.

      Attachments

        Activity

          People

            mike_freedman Michael Freedman
            mike_freedman Michael Freedman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: