Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5215

getTopology returns wrong topology when not current

    XMLWordPrintableJSON

Details

    Description

      With the change to discovery.base, the BaseDiscoveryService is now in charge of providing a topology even in the case the view is undefined (not current). In that case it returns the oldView. That oldView however is only set at activation time and never updated later. While TopologyEventListeners are not affected, those who directly call getTopology will in such a moment get a TopologyView which is correctly marked as 'not current' - in which case they should anyway not make any assumptions nor use the view - but the view that is returned is actually a very old one - namely from activation including only itself.

      Attachments

        Activity

          People

            stefanegli Stefan Egli
            stefanegli Stefan Egli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: