Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-1951

MetadataURIResolver works only if the content is in the request

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • 3.0
    • Plugin : Web
    • None

      MetadataURIResolver works only in pipelines which work on a single content, because it retrieves the content from the request attributes.

      I can't, for instance, generate a XML list of contents, and make a link to a image or binary metadata for each one of them in one stylesheet.

      Either resolveXX() methods should have an additional generic parameter (because providing the content doesn't mean anything for the other URIResolvers), or the metadata URI could have a form with the content ID (like "defaultWebContent://xxx/metadata" or "metadata?contentId=defaultWebContent://xxx").

            Unassigned Unassigned
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: