adobe/helix-shared

[indexer] match will only return the first matching item

dominique-pfister opened this issue ยท 1 comments

with the following property definition:

  video:
    target: /query-index.json
    properties:
      video:
        select: a
        values: |
          match(attribute(el, 'href'), 'https:\/\/[^\/]+\/company\/assets\/urn:aaid:aem:.*')

only the first matching element's attribute in a HTML document will be returned. This is a regression of #839, which is a safeguard against empty matches.

๐ŸŽ‰ This issue has been resolved in version @adobe/helix-shared-indexer-v2.0.20 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€