Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2572

Execution order of sitemap item handlers is not kept as ordered from the configuration (hst:sitemapitemhandlerids) of sitemap item

    XMLWordPrintable

Details

    Description

      The execution order doesn't follow the configuration order of sitemap item handlers (hst:sitemapitemhandlerids) for a sitemap item is not kept as ordered.
      For example, if I set sitemap item handlers, A and B for a sitemap item, the sitemap item handler of A must be executed before B. (As an example, A sets some response headers on some condition and B sends redirects. If the order is not kept and so B is invoked before A, then A won't be invoked at all.)
      However, the order is not guaranteed currently. The reason is the internal sitemapitem handler map inside HstSiteMapItemService is type of HashMap and the getter method uses #values().

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: